Create conversion order 🔒 (deprecated)

Create a new conversion order that will be processed by the liquidity network.

Order Flow:

Offramp (USDC → NGN):

  1. Order created with PENDING status
  2. User sends USDC to the temporary wallet address returned
  3. System detects deposit and triggers fulfillment
  4. LP sends NGN to beneficiary bank account
  5. Order marked as FULFILLED

Onramp (NGN → USDC):

  1. Order created with PENDING status
  2. User deposits NGN to the virtual bank account returned
  3. System detects deposit and triggers fulfillment
  4. LP sends USDC to destination wallet address
  5. Order marked as FULFILLED

Timeouts:

  • Orders expire after 30 minutes if no deposit is received
  • Expired orders are automatically cancelled

Refunds:

  • If fulfillment fails, funds are refunded to the refundAddress (offramp) or source account (onramp)
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

**NOTE: ** This endpoint is deprecated. Please switch to the Create a new request endpoint instead.


Body Params
string
enum
required

Source asset to convert from

string
enum
required

Destination asset to convert to

number
required
≥ 0.01

Amount to convert in source asset units. Must be positive and within allowed limits.

string
enum
Defaults to STELLAR

Blockchain network this order runs on. Must match an existing rail for the (fromAsset, toAsset, network) triple. Defaults to STELLAR when omitted.

string
length ≤ 500

Human-readable description for this order. Useful for your records and customer support.

beneficiary
object

Beneficiary information for OFFRAMP orders (Crypto → Fiat). Required when converting crypto to fiat.

string

Wallet address for ONRAMP orders (Fiat → Crypto). Required when converting fiat to crypto. Must be a valid blockchain address.

string

Wallet address for refunds if OFFRAMP fails. Recommended for all offramp orders.

sender
object

Sender information for ONRAMP orders. Helps with compliance and customer identification.

string

Webhook URL to receive real-time order status updates. Must be a publicly accessible HTTPS endpoint.

string

Target a specific LP node for this order. Only use if you have a preferred LP arrangement.

metadata
object

Custom metadata to attach to this order. Stored and returned in webhooks and order queries.

Headers
string
enum

Environment to use for the request. When using API keys, the environment is determined from the key prefix.

Allowed:
string

Optional platform/application identifier for tracking and analytics

Responses

401

Unauthorized - Invalid or missing credentials

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json