customers

List pending credit consumption

List credit consumption that was recorded before a matching credit pool existed — for example usage that arrived before an invoice was paid or before a new period's credits were granted. Entries leave this list once they are applied to a pool or settled. Use the value returned as customer.id, for example cus_abc123. If you have your own customer ID, use /api/v2/customers/external/{externalId}/credits/pending-consumption.

get/customers/{id}/credits/pending-consumption

Request

  • Base URL: https://api.agentpaid.io/api/v2
  • URL: https://api.agentpaid.io/api/v2/customers/{id}/credits/pending-consumption
  • Auth: HTTP bearer

Path parameters

idstring required

Paid customer display id

Query parameters

limitinteger
offsetinteger

Response

200

Changes

No recorded changes to this operation across all 1 revision of this API.