Sender
Initiate Order
Creates a new payment order.
- Offramp (stablecoin → fiat): set
source.type = "crypto"anddestination.type = "fiat". The responseproviderAccountcontains areceiveAddressto send tokens to. - Onramp (fiat → stablecoin): set
source.type = "fiat"anddestination.type = "crypto". The responseproviderAccountcontains a virtual bank account for the user to deposit fiat into.
POST
Authorizations
Body
application/json
Payment amount. Denomination is determined by amountIn (defaults to crypto units).
Example:
"100"
Polymorphic source — set type: "crypto" for offramp or type: "fiat" for onramp.
- Option 1
- Option 2
Polymorphic destination — set type: "fiat" for offramp or type: "crypto" for onramp.
- Option 1
- Option 2
Specifies whether amount is denominated in crypto or fiat. Defaults to crypto.
Available options:
crypto, fiat Quoted exchange rate (fiat per crypto unit). Optional — protocol uses best available rate if omitted.
Fixed sender fee in crypto units.
Sender fee as a percentage of the order amount (alternative to senderFee).
Your internal reference ID for this order.