# Gateway accounts Use these operations to manage payment gateway accounts. A payment gateway is a service which enables merchants to receive payments from their customers to their merchant account. A merchant account is a bank account that enables businesses to receive payments. Use payment gateway accounts to connect payment requests to third party networks and platforms. ## Retrieve gateway accounts - [GET /gateway-accounts](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/getgatewayaccountcollection.md): Retrieves a list of gateway accounts. ## Create a gateway account - [POST /gateway-accounts](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/postgatewayaccount.md): Creates a gateway account. ## Retrieves a gateway account - [GET /gateway-accounts/{id}](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/getgatewayaccount.md): Retrieves a gateway account with a specified ID. ## Upsert a gateway account - [PUT /gateway-accounts/{id}](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/putgatewayaccount.md): Creates or updates (upserts) a gateway account with a specified ID. ## Update a gateway account - [PATCH /gateway-accounts/{id}](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/patchgatewayaccount.md): Updates a gateway account with a specified ID. ## Delete a gateway account - [DELETE /gateway-accounts/{id}](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/deletegatewayaccount.md): Deletes a gateway account with a specified ID. ## Close a gateway account - [POST /gateway-accounts/{id}/close](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/postgatewayaccountclosure.md): Closes a gateway account with a specified ID. This process is also known as archiving. When a gateway account is closed, the gateway cannot process transactions and the attribute is set to . > Closing a gateway account cannot be undone. Do so with caution. ## Disable a gateway account - [POST /gateway-accounts/{id}/disable](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/postgatewayaccountdisablement.md): Disables a gateway account with a specified ID. When a gateway account is disabled, the gateway cannot process transactions and the attribute is set to . ## List gateway account downtime schedules - [GET /gateway-accounts/{id}/downtime-schedules](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/getgatewayaccountdowntimeschedulecollection.md): Retrieves a list of downtime schedules for a gateway account with a specified ID. ## Create a gateway account downtime schedule - [POST /gateway-accounts/{id}/downtime-schedules](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/postgatewayaccountdowntimeschedule.md): Creates a downtime schedule for a gateway account with a specified ID. ## Retrieve a gateway account downtime schedule - [GET /gateway-accounts/{id}/downtime-schedules/{downtimeId}](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/getgatewayaccountdowntimeschedule.md): Retrieves a gateway account downtime schedule with a specified ID. ## Update a gateway account downtime schedule - [PUT /gateway-accounts/{id}/downtime-schedules/{downtimeId}](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/putgatewayaccountdowntimeschedule.md): Updates a gateway account downtime schedule with a specified ID. ## Delete a gateway account downtime schedule - [DELETE /gateway-accounts/{id}/downtime-schedules/{downtimeId}](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/deletegatewayaccountdowntimeschedule.md): Deletes a gateway account downtime schedule with a specified ID. ## Enable a gateway account - [POST /gateway-accounts/{id}/enable](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/postgatewayaccountenablement.md): Enables a gateway account with a specified ID. When a gateway account is enabled, the gateway can process transactions and the attribute is set to . ## Retrieve gateway account limits - [GET /gateway-accounts/{id}/limits](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/getgatewayaccountlimitcollection.md): Retrieves a list of limits for a gateway account with a specified ID. ## Retrieve a gateway account limit - [GET /gateway-accounts/{id}/limits/{limitId}](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/getgatewayaccountlimit.md): Retrieves a gateway account limit with a specified ID. ## Update a gateway account limit - [PUT /gateway-accounts/{id}/limits/{limitId}](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/putgatewayaccountlimit.md): Updates a gateway account limit with a specified ID. ## Delete a gateway account limit - [DELETE /gateway-accounts/{id}/limits/{limitId}](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/deletegatewayaccountlimit.md): Deletes a gateway account limit with a specified ID. ## Verify gateway account credentials - [POST /gateway-accounts/{id}/check-credentials](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/postgatewayaccountcheckcredentials.md): Verifies that supplied credentials are valid for a specified gateway account ID. ## Retrieve financial settings of a gateway account - [GET /gateway-accounts/{id}/financial-settings](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/getgatewayaccountfinancialsettings.md): Retrieves the financial settings of a gateway account with a specified ID. > This operation is experimental and may not be backward compatible. ## Set financial settings - [PUT /gateway-accounts/{id}/financial-settings](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/putgatewayaccountfinancialsettings.md): Sets financial settings for a gateway account with a specified ID. > This operation is experimental and may not be backward compatible. ## Register a domain for Apple Pay - [POST /digital-wallets/onboarding/apple-pay](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/postdigitalwalletonboardingapplepay.md): Registers a domain for Apple Pay. Use this operation to register the domain with Apple Pay, or to check if it is already registered. When the domain is registered, you can use Apple Pay with your embedded integrations. For more information, see Set up Apple Pay. ## Gateway account downtime ended - [POST gateway-account-downtime-ended](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/gateway-account-downtime-ended.md) ## Gateway account downtime started - [POST gateway-account-downtime-started](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/gateway-account-downtime-started.md) ## Gateway account limit reached - [POST gateway-account-limit-reached](https://www.rebilly.com/static/_spec/catalog/all-3.0/gateway-accounts/gateway-account-limit-reached.md)