Skip to main content
POST

Authorizations

API-Key
string
header
required

Body

application/json
amount
string
required

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

Example:

"100"

source
object
required

Polymorphic source — set type: "crypto" for offramp or type: "fiat" for onramp.

destination
object
required

Polymorphic destination — set type: "fiat" for offramp or type: "crypto" for onramp.

amountIn
enum<string>

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

Available options:
crypto,
fiat
rate
string

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

senderFee
string

Fixed sender fee in crypto units. Mutually exclusive with senderFeePercent. When the effective sender fee is greater than zero, senderFeeAddress (or a fee address configured on the sender profile) is required.

Example:

"0.5"

senderFeePercent
string

Sender fee as a percentage of the order amount (alternative to senderFee). Mutually exclusive with senderFee. When the effective sender fee is greater than zero, senderFeeAddress (or a fee address configured on the sender profile) is required.

Example:

"1"

senderFeeAddress
string

Optional fee recipient address for this order. Required when the effective sender fee is greater than zero (from senderFee, senderFeePercent, or a profile-configured fee) and no fee address is configured on the sender profile for the token. Not required when the effective fee is zero. Must be a valid address for the order's crypto network (EVM, Tron, or Starknet).

Example:

"0xYourFeeRecipientAddress"

reference
string

Your internal reference ID for this order.

Response

Order created

status
string
Example:

"success"

message
string
Example:

"Payment order created successfully"

data
object

Response returned when creating an order