List credit grants
Draft scaffold — not implemented or available in the API.
Lists credit grants, both manual and those created by orders. Filter by customer, creditCurrency, seat or status; for example, a customer’s active grants give each grant’s nextRefillAt.
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.
limit
How many objects to return, 1 to 100. Defaults to 10.
order
Only grants from this order, by ord_ ID or external ID.
seat
A Paid ID, external ID or resource key, as supported by the referenced resource.
source.type
Only grants created by hand or from an order.
Allowed values:
status
Filter by grant status.
Allowed values:
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