Customers
Grant credits to a customer
Adds credits to a customer balance. Use Idempotency-Key to make grants safe to retry.
post/v1/sdk/customers/{reference}/credits
Path parameters
referencestring required
Example:cus_3c4d5e6f7g8h
Customer reference identifier
Headers
Idempotency-Keystring
Provider-scoped idempotency key for safe grant retries
Request body
Response
Credits granted successfully
Changes
Changed in 2 of the 27 revisions of this API.11
- ▲
added the pattern
^[\p{L}\p{N}\s.,'"&\/()+:%;?!@#_[\]\-]*$to the request propertyrequest-property-pattern-added
- ▲
- ○
endpoint added
endpoint-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○