Use these methods to obtain information about transactions (such as deposits, withdrawals, exchanges and transfers) made on accounts owned by a user that is currently signed in to the B2Core UI.
Use this method to obtain a list of transactions made on accounts owned by a user that is currently signed in to the B2Core UI.
To obtain detailed information about a specific transaction, use a separate method to get transaction details.
When a request doesn’t include a filter parameter indicating the transaction
type, a response includes transactions of all types.
The available filter and sorting parameters are listed in the Request section below.
A response includes transactions with any status, except for those marked as
Authorization: Bearer <access_token>
The following filter parameters are available for this method:
The identifier of a client account.
The current transaction status. Possible values:
Transactions with the
newstatus are not returned.
The transaction type. Possible values:
The following sorting parameters are available for this method:
The date and time when a transaction was made.
Applicable only for deposit-type transactions.
The amount deposited to an account.
Applicable only for withdrawal-type transactions.
The amount withdrawn from an account.
curl --location -g --request GET 'https://host.name/api/v2/my/transactions?limit=10&offset=0&sort_order=desc&sort_by=createTime&filter[accountId]=1&filter[status]=done&filter[type]=deposit' \ --header 'Authorization: Bearer <token>'
A response contains an array of Transaction objects providing information about the transactions matching the request parameters.
Use this method to obtain detailed information about a specified transaction.
To obtain a list of transactions made on a client account, use a separate method to get a list of transactions.
- transactionId required
The transaction identifier.
curl --location --request GET 'https://host.name/api/v2/my/transactions/1' \ --header 'Authorization: Bearer <token>'
A response contains a Transaction object providing details about the specified transaction.