Balance Transactions
List Balance Transactions
List the balance transactions for your account. This API is limited to a single sub account or payout. This endpoint supports pagination.
get/balance_transactions
Request
- Base URLhttps://api.justifi.ai/v1
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
payout_idstring
Filter records which are part of the payout with the specified id
source_payment_idstring
Filter records which are associated with the payment with the specified id
Headers
Authorizationstring required
the access_token value returned from the JustiFi oauth/token endpoint (be sure to append Bearer before the token)
Sub-Accountstring
the id of the sub account that this request applies to
Response
Successfully list balance transactions
Example response
{
"id": 1,
"type": "array",
"data": [
{
"id": "bt_xyz",
"account_id": "acc_xyz",
"amount": 100000,
"available_on": "2021-01-01T12:00:00Z",
"currency": "usd",
"fee": 5000,
"financial_transaction_id": "ft_xyz",
"net": 600,
"payout_id": "po_xyz",
"source_id": "py_xyz",
"source_type": "payment",
"source_payment_id": "py_xyz",
"txn_type": "seller_payment",
"created_at": "2021-01-01T12:00:00Z",
"updated_at": "2021-01-01T12:00:00Z"
}
],
"page_info": {
"end_cursor": "WyIyMDIyLTAyLTA4IDE5OjUyOjM3LjEwNDE3MzAwMCIsIjY4MDliYTU5LTYxYjctNDg3MS05YWFiLWE2Y2MyNmY3M2M1ZCJd",
"start_cursor": "WyIyMDIyLTAyLTA4IDIwOjAxOjU4LjEyMDIzMjAwMCIsIjU5ZTFjNGI1LWFlOWQtNDIyZC04MTVkLWNjNzQ5NzdlYmFjYSJd"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.