Skip to main content
POST
Create an order
The payer picked a coin: this locks the quote and returns the deposit address and exact amount. Call it from your server.

Path Parameters

The payment link's id.

Body

application/json
network
string
required
Example:

"solana_devnet"

token
string
required
Example:

"native"

refundAddress
string | null

Where over- and underpayments are sent back. Must be valid on network.

Response

The order.

id
string<uuid>
status
enum<string>
Available options:
AwaitingPayment,
Confirming,
Settled,
Overpaid,
Expired,
ExpiredUnderpaid,
ManualReview,
Refunded
network
string
token
string
decimals
integer
depositAddress
string
refundAddress
string | null
expectedAmount
string

Base units the payer must send.

expectedAmountDisplay
number

The same, in whole coins.

confirmedAmount
string
receivedAmount
string
remainingAmount
string
remainingAmountDisplay
number
fiatAmount
number
fiatCurrency
string
rate
number

Fiat per coin used for the quote.

createdAt
string<date-time>
expiresAt
string<date-time>
resolvedAt
string<date-time> | null
deposits
object[]