List credit transactions
Draft scaffold — not implemented or available in the API.
Lists credit ledger entries newest first, by createdAt. Every grant, spend, expiry, void, refill, overage and pending entry is recorded with the customer’s balance after it. Filter by customer, creditCurrency, type, grant, event, order, product, meter or an occurredAt range.
Authentication
AuthorizationBearer
API Key authentication using Bearer token
Headers
Paid-Beta
This endpoint is in the credits=v1 beta. Send this header to use it.
Allowed values:
Query parameters
creditCurrency
A Paid ID, external ID or resource key, as supported by the referenced resource.
cursor
The nextCursor of the previous page. Omit it for the first page.
customer
A Paid ID, external ID or resource key, as supported by the referenced resource.
event
A Paid ID, external ID or resource key, as supported by the referenced resource.
grant
A Paid ID, external ID or resource key, as supported by the referenced resource.
limit
How many objects to return, 1 to 100. Defaults to 10.
meter
A Paid ID, external ID or resource key, as supported by the referenced resource.
occurredAt[gte]
Inclusive occurrence start.
occurredAt[lt]
Exclusive occurrence end.
order
A Paid ID, external ID or resource key, as supported by the referenced resource.
product
A Paid ID, external ID or resource key, as supported by the referenced resource.
type
Ledger entry type.
Response
200
object
The type of object. Always list.
Allowed values:
data
The resources on this page.
hasMore
Whether another page follows this one.
nextCursor
Send it as cursor to get the next page. Null on the last page.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
501
Not Implemented Error