List currency-specific invoice credit grants and their remaining balances for a customer.
List currency-specific invoice credit grants and their remaining balances for a customer.
ApiKeyAuth In: header
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/customers/string/credits"{ "object": "list", "data": [ { "id": "string", "amount": -9007199254740991, "appliedAmount": -9007199254740991, "reversedAmount": -9007199254740991, "revokedAmount": -9007199254740991, "remainingAmount": -9007199254740991, "currency": "string", "reason": "string", "source": "dashboard", "expiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "object": "customer_credit", "livemode": true } ], "hasMore": true, "nextCursor": "string"}{ "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}