Credit grants
Get a list of credit grants
Retrieves a paginated list of credit grants for a customer.
get/api/v1/credits/grants
Query parameters
afterstring uuid
Return items that come after this cursor
beforestring uuid
Return items that come before this cursor
limitinteger
Maximum number of items to return
customerIdstring required
Filter by customer ID (required)
resourceIdstring
Filter by resource ID. When omitted, only grants without a resource are returned
currencyIdstring
Filter by currency ID
Filter by creation date using range operators: gt, gte, lt, lte
Headers
X-ACCOUNT-IDstring
Account ID — optional when authenticating with a user JWT (Bearer token); falls back to the user's first membership. Ignored for API-key auth.
X-ENVIRONMENT-IDstring
Environment ID — required when authenticating with a user JWT (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the key).
Response
A paginated list of credit grant objects.