TrustPay
en
  • en
  • zh
  1. v3
TrustPay
en
  • en
  • zh
  • Integration Guide
  • Risk Control – Merchant Integration
  • Enums
  • Payment Callback Specification
  • v3
    • Sync Card Direct Payin
      POST
    • Async Card Direct Payin
      POST
    • Cashier Payin
      POST
    • Payment Callback
      POST
    • Balance
      POST
    • Order Query
      POST
    • Exchange
      POST
  • v2
    • Payout(INR)
      POST
  • v4
    • Card Direct Payin
      POST
  1. v3

Exchange

Developing
POST
/v3/exchange/create/order

Request

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.trustpay.money/v3/exchange/create/order' \
--header 'Content-Type: application/json' \
--data-raw '{
    "merchantId": 8820250900009,
    "merchantOrderNo": "test_exchange_006",
    "orderAmount": 100.00,
    "chainAddress": "0x432deda7a3c5e2d78e3cf3de06cc213d092e9709",
    "chainType": "ERC20",
    "currency": "INR",
    "exchangeCurrency": "USDT",
    "notifyUrl": "https://webhook.site/84a968a5-e371-4092-8ed9-1469e3435e8a",
    "sign": ""
}'
Response Response Example
{
    "code": 880001,
    "message": "success",
    "data": {
        "merchantId": 8820250900009,
        "orderNo": "test_exchange_006",
        "platformOrderNo": "OHX8huCTHTZb2hNTFqs8VOoe",
        "currency": "INR",
        "amount": "100",
        "exchangeAmount": "1.200768",
        "exchangeRate": "83.28",
        "status": 9,
        "createdAt": "2026-01-24T02:09:00.357344Z"
    }
}
Modified at 2026-01-23 18:17:28
Previous
Order Query
Next
Payout(INR)
Built with