Skip to main content
POST
Create an intent order

Authorizations

X-RAMPNOW-API-KEY
string
header
required

Partner API key sent in the X-RAMPNOW-API-KEY header. Every request must ALSO send X-RAMPNOW-TIMESTAMP (unix seconds) and X-RAMPNOW-SIGN (hex HMAC-SHA256 of timestamp + METHOD + requestURI + rawBody, keyed with your API secret). See the Authentication guide.

Body

application/json
externalOrderUid
string
required

Your unique reference for this order (idempotency key)

orderType
enum<string>
required

Order direction (buy, sell, …)

Available options:
unknown,
buy,
sell,
swap,
payment,
refill,
payout,
cross_border,
payroll,
sendout,
escrow
srcChain
string
required

Source chain (fiat for fiat legs)

Supported Blockchains like ethereum, bitcoin etc. For additional options, see the full list.

srcCurrency
string
required

Source currency (fiat for buy, crypto for sell)

Supported Crypto Currencies like EUR, USDT etc. For additional options, see the full list.

user
object
required

Customer profile; upserted by email

addressTag
string

Destination address memo/tag for chains that require one (XRP, XLM, TON, …)

dstAmount
string

Destination-side amount; set this OR srcAmount, not both

dstChain
string

Destination chain (fiat for fiat legs)

Supported Blockchains like ethereum, bitcoin etc. For additional options, see the full list.

dstCurrency
string

Destination currency (crypto for buy, fiat for sell)

Supported Crypto Currencies like EUR, USDT etc. For additional options, see the full list.

partnerFixedFee
number

Overrides the account-side partner fixed fee for this order

partnerPctFee
number

Overrides the account-side partner fee percentage for this order

paymentMode
string

Preferred payment method; if omitted the customer picks during checkout

Payment Methods & Limits like sepa, card, wire etc. For additional options, see the full list.

returnUrl
string

URL to redirect the customer to after checkout completes

srcAmount
string

Source-side amount; set this OR dstAmount, not both

wallet
object

Beneficiary wallet / bank account for the destination leg

webhookUrl
string

Per-order override for the status-change webhook URL; falls back to the account-level webhook

Response

200 - application/json

OK

code
integer
required
data
object
required
message
string
required
traceId
string
required
displayError
string

For client display