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
Content-Type
application/vnd.api+json
Authorization
Bearer <api_key>
Path Parameters
account_id
string
Account ID.
URL Parameters
order
string
Order in which the list of transactions should be returned. Can be either created_at
, amount
or balance
.
order_type
string
Order type. Can be either asc
or desc
.
per_page
number
Number of transactions per page to return.
page
number
Page for which you want to return transactions.
Response
Response Body
data.id
string
Transaction ID.
data.type
string
Entity type returned. Always transactions
.
data.attributes
object
A set of transaction attributes.
data.attributes.createdAt
string
data.attributes.simplifiedState
string
Transaction status.
data.attributes.transactionType
string
Transaction type. Can be either ExchangeTransaction
, CoinTransaction
or ManualTransaction
.
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. Always accounts
.
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