Payments
Get Payment Balance Transactions
Get information about the payment-balance-transactions associated with a payment.
get/payments/{id}/payment_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.
Path parameters
idstring uuid required
Headers
Authorizationstring required
the access_token value returned from the JustiFi oauth/token endpoint (be sure to append Bearer before the token)
Response
Successfully retrieve the payment-balance-transactions for a payment
Example response
{
"id": 1,
"type": "array",
"data": [
{
"id": "pbt_123xyz",
"amount": 40145,
"balance": 53550,
"currency": "usd",
"financial_transaction_id": "ft_123xyz",
"payment_id": "py_123xyz",
"payment_balance_txn_type": "fee_refund",
"source_id": "fee_123xyz",
"source_type": "ApplicationFee",
"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.