Payment Account
Access the details of bank accounts provided for you by GoCardless that are used to fund Outbound Payments.
Get a single payment account details#
/payment_accounts/{payment_account_id}Retrieves the details of an existing payment account.
Path Parameters
| Name | Type | Description |
|---|---|---|
payment_account_idrequired | string | The payment account id |
Response 200
Successful response
payment_accountsobject7 properties
idstring
Unique identifier, beginning with "BA".
account_holder_namestring
Name of the account holder, as known by the bank. Usually this is the same as the name stored with the linked creditor. This field will be transliterated, upcased and truncated to 18 characters.
account_number_endingstring
The last few digits of the account number. Currently 4 digits for NZD bank accounts and 2 digits for other currencies.
currencystring
ISO 4217 currency code. Currently "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported.
bank_namestring
Name of bank, taken from the bank details.
linksobject
1 properties
creditorstring
ID of the creditor that owns this bank account.
account_balanceinteger
Current balance on a payment account in the lowest denomination for the currency (e.g. pence in GBP, cents in EUR). It is time-sensitive as it is ever changing.
Errors 400401404422500
Bad Request
Unauthorised
Not found
Validation Error
Internal Error
Error Body
codeintegerdocumentation_urlstringerrorsarray2 properties
reasonstringmessagestringmessagestringrequest_idstringtypestringmetadataobjectlinksobjectList payment accounts#
/payment_accountsReturns a cursor-paginated list of your payment accounts.
Response 200
Successful response
payment_accountsarray7 properties
idstring
Unique identifier, beginning with "BA".
account_holder_namestring
Name of the account holder, as known by the bank. Usually this is the same as the name stored with the linked creditor. This field will be transliterated, upcased and truncated to 18 characters.
account_number_endingstring
The last few digits of the account number. Currently 4 digits for NZD bank accounts and 2 digits for other currencies.
currencystring
ISO 4217 currency code. Currently "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported.
bank_namestring
Name of bank, taken from the bank details.
linksobject
1 properties
creditorstring
ID of the creditor that owns this bank account.
account_balanceinteger
Current balance on a payment account in the lowest denomination for the currency (e.g. pence in GBP, cents in EUR). It is time-sensitive as it is ever changing.
metaobject2 properties
limitintegercursorsobject
2 properties
beforestring
Cursor pointing to the end of the desired set.
afterstring
Cursor pointing to the start of the desired set.
Errors 400401404422500
Bad Request
Unauthorised
Not found
Validation Error
Internal Error
Error Body
codeintegerdocumentation_urlstringerrorsarray2 properties
reasonstringmessagestringmessagestringrequest_idstringtypestringmetadataobjectlinksobject