Set a credit unit's selling price
The price of one credit in a currency, used to sell the unit through top-ups and automatic
top-ups (taxed at purchase under the unit’s product_id). Replaces the active price in that
currency, which is archived: a top-up already priced keeps its terms.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The new price of one credit in a currency.
Major units of the currency per credit, as a decimal string: positive, at most 12 decimal places.
Response
The active price
What one credit sells for in a currency. A price is never edited: setting a new one for the same currency archives it.
When the price was set.
ISO 4217 code of the currency the unit sells in.
The price's id (cup_…).
Major units of currency per credit, as a decimal string (e.g. "0.001").
When a newer price, or its removal, replaced it; absent while active.