Payment Gateway Accounts

List payment gateway accounts

GET
/v2.1/accounts/{accountId}/payment_gateway_accounts

This method returns a list of payment gateway accounts and basic information about them.

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

Response Body

application/json

application/json

curl -X GET "https://example.com/v2.1/accounts/string/payment_gateway_accounts"
{  "paymentGatewayAccounts": [    {      "allowCustomMetadata": true,      "config": {        "apiFields": "string",        "authorizationCode": "string",        "credentialStatus": "string",        "merchantId": "string"      },      "displayName": "string",      "isEnabled": "string",      "isLegacy": "string",      "lastModified": "string",      "paymentGateway": "string",      "paymentGatewayAccountId": "string",      "paymentGatewayDisplayName": "string",      "payPalLegacySettings": {        "currency": "string",        "partner": "string",        "password": "string",        "userName": "string",        "vendor": "string"      },      "supportedCurrencies": [        "string"      ],      "supportedPaymentMethods": [        "string"      ],      "supportedPaymentMethodsWithOptions": [        {          "supportedCurrencies": [            "string"          ],          "supportedOptions": [            "string"          ],          "type": "string"        }      ],      "zeroDecimalCurrencies": [        "string"      ]    }  ]}