Retrieve the credit balance summary for a customer
GET / v1 / billing / credit_balance_summary
Retrieves the credit balance summary for a customer.
Parameters
- filter object Required The filter criteria for the credit balance summary.
- customer string The customer whose credit balance summary you’re retrieving.
- customer _ account string The account representing the customer whose credit balance summary you’re retrieving.
Returns
Returns the credit balance summary.
Response
{ "object": "billing.credit_balance_summary", "balances": [ { "available_balance": { "monetary": { "currency": "usd", "value": 1000 }, "type": "monetary" }, "ledger_balance": { "monetary": { "currency": "usd", "value": 1000 }, "type": "monetary" } } ], "customer": "cus_QsEHa3GKweMwih", "livemode": false}
