User Manual
Overview
Get Balances
Balance History
Create Deposit Order
Get Deposit Order Detail
Cancel Deposit Order
Create Withdraw Order
Get Withdraw Order Detail
Cancel Withdraw Order
Create Exchange Order
Get Exchange Order Detail
Upload File
Customer Rate
Home/Exchange

Create Exchange Order

Last Updated: 2026-05-29
HTTP Request
POST/v1/exchange/order

Auth: Signed API key required

Permissions: Trade

Signed Location: JSON body

Content-Type: application/json

Convert one customer fiat balance into another fiat balance.

Headers

Parameter NameRequiredTypeNotes
X-MBX-APIKEYtruestringProvisioned ACCESS_ID. x-access-id is also accepted by the backend, but X-MBX-APIKEY is recommended.

Request Body

Parameter NameRequiredTypeNotes
fund_passwordfalsestringConditionally required when the customer account has a fund password configured.
base_currencytruestringSource fiat currency.
quote_currencytruestringTarget fiat currency.
amounttruestringSource amount.
moneytruestringConverted amount expected by the client.
pricetruestringCustomer rate used by the client.
timestamptrueint64Request timestamp in milliseconds. Microseconds are also accepted and normalized by the server.
recvWindowfalseintegerOptional receive window. Default 5000, maximum 60000.
signaturetruestringHMAC-SHA256 signature of the signed payload. signature itself is not part of the payload string being signed.
Notes
  • price must match the current server-side customer rate.
  • money must match the converted amount derived by the backend.
  • Insufficient balance returns a business error from the backend.

Request Example

curl -X POST 'https://<host>/v1/exchange/order' \
  -H 'X-MBX-APIKEY: <ACCESS_ID>' \
  -H 'Content-Type: application/json' \
  -d '{
    "fund_password":"<FUND_PASSWORD_IF_REQUIRED>",
    "base_currency":"NGN",
    "quote_currency":"GHS",
    "amount":"1000",
    "money":"650",
    "price":"0.65",
    "timestamp":1717200000000,
    "recvWindow":5000,
    "signature":"<SIGNATURE>"
  }'
About
  • About Us
  • Terms of Service
  • Privacy Policy
Products
  • Deposit
  • Withdrawal
  • Exchange
Developers
  • API Docs
  • API Management
Support
  • Help Center
Community
Theme
    • About Us
    • Terms of Service
    • Privacy Policy
    • Deposit
    • Withdrawal
    • Exchange
    • API Docs
    • API Management
    • Help Center
© 2020-2026 PayAny.com. All rights reserved.