List a customer's balance transactions
Returns every change to the customer's balance, newest first: credit given, credit used on an invoice, and credit returned.
Returns every change to the customer's balance, newest first: credit given, credit used on an invoice, and credit returned.
Authorization
api-key API key for merchant integrations. Send as Authorization: Bearer <your key>.
In: header
Path Parameters
Customer ID
Query Parameters
Page number (1-based)
1 <= value <= 21474836471Number of items per page
1 <= value <= 10020Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/customers/string/balance-transactions"{ "data": [ { "id": "cbtxn_3Nf8a2kLmPq9", "object": "customer_balance_transaction", "type": "adjustment", "amount": -9007199254740991, "endingBalance": -9007199254740991, "currency": "EGP", "invoiceId": "string", "creditNoteId": "string", "description": "string", "customerId": "string", "merchantId": "string", "createdAt": "string" } ], "totalCount": 0}Send the receipt of a payment again POST
Emails the receipt of a received payment to the customer again. The first receipt is sent automatically when the payment arrives. Live mode only: receipts are not emailed in test mode.
Adjust a customer's balance POST
Gives the customer credit or takes it back. A negative amount is credit, which the customer's next invoice uses up.