Request
string
required
ISO 4217 code of the currency the buyer pays in (e.g.
"EUR").string
required
The amount the buyer pays, as a decimal string (e.g.
"100.00"). This is the
total charge, fees included - not the amount that gets converted.Response
string
What the buyer receives, as a decimal string. Precision follows the asset, so an
18-decimal figure arrives as an 18-decimal string - keep it as a string.
string
Which asset
cryptoAmount is denominated in. Always read this rather than
assuming USDC - the corridor is configurable, and the sandbox settles in ETH.string
The provider’s own fiat figure for the purchase.
string
Exchange rate used, in the provider’s convention (fiat per unit of crypto).
string
The on-ramp’s fee, in fiat. Already included in
total.string
Rheon’s markup, in fiat.
"0" until a markup is configured at account level.string
What the buyer is charged in total, in fiat.
string
Optional. ISO 8601 expiry of the quoted rate, when the provider supplies one.
Card fees carry a flat minimum, so the effective rate is much higher on small
amounts than on large ones. Quote every amount rather than extrapolating a
percentage from one sample.