Create a credit grant
Draft scaffold — not implemented or available in the API.
Grants credits in a credit currency to a customer’s balance by hand, for example a goodwill top-up. Requires an Idempotency-Key. startsAt defaults to now and can be in the future; expiresAt of null means the credits never expire. The credit currency must not be archived. Grants from bundles are created by orders, not by this call.
Authentication
Headers
This endpoint is in the credits=v1 beta. Send this header to use it.
Request
Expiry; null means no expiry.
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.