Update a credit grant
Draft scaffold — not implemented or available in the API.
Changes reason, metadata or expiresAt. expiresAt can only move later, and an expired grant cannot be revived; void the grant instead to end it early. The amount, credit currency, startsAt and refill cannot be changed. {creditGrant} takes the grant’s cgr_ ID.
Authentication
Path parameters
Headers
This endpoint is in the credits=v1 beta. Send this header to use it.
Request
Extend the expiry; expired grants cannot be revived.
String key-value pairs of your own, up to 500 characters per value. Always updatable.
Response
The type of object. Always creditGrant.
An exact non-negative credit amount, up to 15 fractional places.
An exact non-negative credit amount, up to 15 fractional places.
true for an object on a live account, false on a test account.
String key-value pairs of your own, up to 500 characters per value. Always updatable.
An exact non-negative credit amount, up to 15 fractional places.