Grant credits to a subscription
Creates a monetary API-granted credit on a subscription. The grant is immediately available for consumption.
Authorizations
API key authentication. Pass your API key as a Bearer token.
Headers
2026-04-01 A unique string that makes a retried write safe. If you send the same request with the same key within 24 hours, the API returns the stored response and does not run the request again. A 5xx or 429 response is not stored, so a retry with that key runs the request again.
255"ik_a1b2c3d4e5f6"
Path Parameters
Unique identifier for the subscription
Body
Credit amount to grant
"100.00"
Reason for the credit grant
"API promotional credit"
Type of credit
monetary, units "monetary"
When the credit grant expires
"2027-01-01T00:00:00Z"
Response
Success
Grant amount
"100.00"
When the grant was created
Customer ID
How the grant was created
allocation, manual, rebalance, api "api"
Credit grant ID
"cg_abc123"
Expiration date
Reason for the grant
Subscription ID