Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
customer_id
string<uuid>
required
asset
enum<string>
required
Available options:
USDT,
USDC
fiat_currency
string
required
Example:

"KES"

wallet_address
string
required

Customer custodial or verified external wallet

expires_at
string<date-time>
required
payout_method
enum<string>
required
Available options:
mpesa,
bank
pricing_profile_id
string<uuid>
required
fx_rate_quote_id
string<uuid>
required
crypto_amount
string

Amount of USDT/USDC the customer will send to escrow

usdt_amount
string
deprecated

Deprecated alias for crypto_amount

fiat_amount
string

Desired net fiat payout. If set

payment_method
string

Optional. Defaults to payout_method

payout_phone
string

Required for mpesa. Kenyan MSISDN such as 2547XXXXXXXX

fee_bearer
enum<string>
default:sender
Available options:
sender,
receiver
bank
object

Required when payout_method is bank

Response

Treasury off-ramp order created

id
string<uuid>
customer_id
string<uuid>
vendor_id
string<uuid>

Liquidity provider (publisher). API name vendor_id.

offer_id
string<uuid> | null

Liquidity listing id. API name offer_id. Nullable for custodial remittance orders.

asset
string | null
crypto_amount
string
usdt_amount
string | null

Backward-compatible alias for crypto_amount

fiat_amount
string
fiat_currency
string
wallet_address
string
status
enum<string>
Available options:
pending,
processing,
confirming,
completed,
cancelled,
failed
payment_method
string

e.g., mpesa

payment_txn_id
object

Database-style nullable string wrapper

blockchain_txn_hash
object

Database-style nullable string wrapper

expires_at
string<date-time>
completed_at
object

Database-style nullable time wrapper

created_at
string<date-time>
updated_at
string<date-time>
deleted_at
object

Database-style nullable time wrapper

merchant_request_id
object

Database-style nullable string wrapper

checkout_request_id
object

Database-style nullable string wrapper

mpesa_receipt_number
object

Database-style nullable string wrapper

payment_phone_number
object

Database-style nullable string wrapper

order_type
enum<string>
Available options:
ON_RAMP_BUY,
ON_RAMP_SELL,
OFF_RAMP_BUY,
OFF_RAMP_SELL
order_subtype
enum<string>

Distinguishes marketplace, remittance, custodial remittance, and company fiat-on-demand off-ramp flows. Legacy rows are backfilled as standard_onramp/standard_offramp. treasury_offramp has no offer_id. Vendor is the platform treasury.

Available options:
standard_onramp,
standard_offramp,
remittance_offramp,
custodial_remittance_offramp,
treasury_offramp
sender_name
object

Database-style nullable string wrapper

sender_country
object

Database-style nullable string wrapper

sender_phone
object

Database-style nullable string wrapper

beneficiary_bank_name
object

Database-style nullable string wrapper

beneficiary_bank_code
object

Database-style nullable string wrapper

beneficiary_bank_branch
object

Database-style nullable string wrapper

beneficiary_bank_address
object

Database-style nullable string wrapper

beneficiary_account_name
object

Database-style nullable string wrapper

beneficiary_account_number
object

Database-style nullable string wrapper

beneficiary_swift_code
object

Database-style nullable string wrapper

escrow_wallet_address
object

Database-style nullable string wrapper

escrow_network
object

Database-style nullable string wrapper

escrow_reference
object

Database-style nullable string wrapper

deposit_tx_hash
object

Database-style nullable string wrapper

deposit_confirmations
integer
deposit_detected_at
object

Database-style nullable time wrapper