Listing account transactions
List account transactions
GET
/api/public/v1/accounts/:account_id/transactions
This endpoint returns the complete transaction history for a single account.
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Path Parameters
Name | Type | Description |
---|---|---|
account_id | string | Account ID. |
Query Parameters
Name | Type | Description |
---|---|---|
order | string | Order in which the list of transactions should be returned. Can be either |
order_type | string | Order type. Can be either |
per_page | number | Number of transactions per page to return. |
page | number | Page for which you want to return transactions. |
Response
Response Body
Name | Type | Description |
---|---|---|
data.id | string | Transaction ID. |
data.type | string | Entity type returned. Always |
data.attributes | object | A set of transaction attributes. |
data.attributes.createdAt | string | Transaction creation timestamp in UTC+0. Refer to the Date and time format page. |
data.attributes.simplifiedState | string | Transaction status. |
data.attributes.transactionType | string | Transaction type. Can be either |
data.attributes.amount | string | Transaction amount. |
data.attributes.balance | string | This is what your account balance was when Txn processed the transaction. |
data.relationships | object | Additional data on the transaction relationship. |
data.relationships.account.type | string | Type of the entity returned in the |
data.relationships.account.id | string | Account ID which the transaction belongs to. |
meta | object | Object that contains the pagination data. |
meta.page | string | Current page number you are on. |
meta.per_page | string | Number of transactions per page. |
meta.total | number | Total number of pages returned. |
Last updated