Payment Account Transaction
Payment account transactions represent movements of funds on a given payment account. The payment account is provisioned by GoCardless and is used to fund outbound payments.
Get a single payment account transaction#
/payment_account_transactions/{payment_account_transaction_id}Retrieves the details of an existing payment account transaction.
Path Parameters
| Name | Type | Description |
|---|---|---|
payment_account_transaction_idrequired | string | The payment account transaction id |
Response 200
Successful response
payment_account_transactionsobject10 properties
idstring
The unique ID of the payment account transaction.
value_datestring
The date of when the transaction occurred.
referencestring
The reference of the transaction. This is typically supplied by the sender.
descriptionstring
The description of the transaction, if available
counterparty_namestring
The name of the counterparty of the transaction. The counterparty is the recipient for a credit, or the sender for a debit.
linksobject
3 properties
payoutstring
ID of the payout linked to the transaction.
outbound_paymentstring
ID of the outbound_payment linked to the transaction
payment_bank_accountstring
ID of the payment bank account.
currencystring
The currency of the transaction.
GBPdirectionstring
The direction of the transaction. Debits mean money leaving the account (e.g. outbound payment), while credits signify money coming in (e.g. manual top-up).
creditdebitamountinteger
Amount, in the lowest denomination for the currency (e.g. pence in GBP, cents in EUR).
balance_after_transactioninteger
Balance after transaction, in the lowest denomination for the currency (e.g. pence in GBP, cents in EUR).
Errors 400401404422500
Bad Request
Unauthorised
Not found
Validation Error
Internal Error
Error Body
codeintegerdocumentation_urlstringerrorsarray2 properties
reasonstringmessagestringmessagestringrequest_idstringtypestringmetadataobjectlinksobjectList payment account transactions#
/payment_accounts/{payment_account_transaction_id}/transactionsList transactions for a given payment account.
Path Parameters
| Name | Type | Description |
|---|---|---|
payment_account_transaction_idrequired | string | The payment account transaction id |
Response 200
Successful response
payment_account_transactionsarray10 properties
idstring
The unique ID of the payment account transaction.
value_datestring
The date of when the transaction occurred.
referencestring
The reference of the transaction. This is typically supplied by the sender.
descriptionstring
The description of the transaction, if available
counterparty_namestring
The name of the counterparty of the transaction. The counterparty is the recipient for a credit, or the sender for a debit.
linksobject
3 properties
payoutstring
ID of the payout linked to the transaction.
outbound_paymentstring
ID of the outbound_payment linked to the transaction
payment_bank_accountstring
ID of the payment bank account.
currencystring
The currency of the transaction.
GBPdirectionstring
The direction of the transaction. Debits mean money leaving the account (e.g. outbound payment), while credits signify money coming in (e.g. manual top-up).
creditdebitamountinteger
Amount, in the lowest denomination for the currency (e.g. pence in GBP, cents in EUR).
balance_after_transactioninteger
Balance after transaction, in the lowest denomination for the currency (e.g. pence in GBP, cents in EUR).
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