v1

latestOpenAPI 3.0.32026-07-26214048.5 KB
Sender

Create a v2 payment order (offramp or onramp)

Creates a new payment order.

  • Offramp (stablecoin → fiat): set source.type = "crypto" and destination.type = "fiat". The response providerAccount contains a receiveAddress to send tokens to.
  • Onramp (fiat → stablecoin): set source.type = "fiat" and destination.type = "crypto". The response providerAccount contains a virtual bank account for the user to deposit fiat into.
post/sender/orders

Request body

amountstring required

Payment amount. Denomination is determined by amountIn (defaults to crypto units).

amountIn'crypto' | 'fiat'

Specifies whether amount is denominated in crypto or fiat. Defaults to crypto.

ratestring

Quoted exchange rate (fiat per crypto unit). Optional — protocol uses best available rate if omitted.

senderFeestring

Fixed sender fee in crypto units.

senderFeePercentstring

Sender fee as a percentage of the order amount (alternative to senderFee).

referencestring

Your internal reference ID for this order.

Example request

{
  "amount": "100"
}

Response

Order created

statusstring
messagestring

Example response

{
  "status": "success",
  "message": "Payment order created successfully"
}