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 used to ensure the request is processed exactly once. If you retry a request with the same idempotency key within 24 hours, the original response is returned without re-executing the operation.
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 "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
"api"
Credit grant ID
"cg_abc123"
Expiration date
Reason for the grant
Subscription ID