Create a credit currency
Draft scaffold — not implemented or available in the API.
Creates a custom unit, such as credits, that prices and credit grants can be quoted in instead of a currency. key must be unique in the account and cannot be an ISO 4217 currency code. conversion sets what one unit costs in money when usage runs past a customer’s balance; unfundedUsage defaults to overage.
Authentication
Headers
This endpoint is in the credits=v1 beta. Send this header to use it.
Request
Immutable account-wide denomination key; not an ISO currency code.
What your customers see on invoices, credit notes, checkout and the portal; null uses the resource name.
String key-value pairs of your own, up to 500 characters per value. Always updatable.
Behavior before the first grant; defaults to overage.
Response
The type of object. Always creditCurrency.
What your customers see on invoices, credit notes, checkout and the portal; null uses the resource name.
Immutable account-wide denomination key; not an ISO currency code.
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.