Skip to navigation

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.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

idstringRequired
Paid customer display id

Query parameters

limitintegerOptional1-100Defaults to 10
offsetintegerOptional

Response

200
datalist of objects
Pending consumption, oldest first. Entries leave this list once they are applied to a credit pool or settled.
paginationobject

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error