Open API
English
  • English
  • 简体中文
API DOC
API DOC
English
  • English
  • 简体中文
  1. API
  • Open API
    • Document Revision History
    • Overview of Study Abroad Payment API Access
    • API Call Address
    • Request for serial number generation instructions
    • API Request Parameter Description
    • API Response Parameter Description
    • Interface encryption and signing steps
    • Interface decryption and verification process
    • Constant Description
      • pay_type description
      • order_status description
      • status_code description
      • fee_type description
      • attachment_type description
      • country_code description
      • currency_code description
      • Gender Description
      • ID type Description
      • Funding Source Description
    • API
      • Order interface
        POST
      • Attachment upload interface
        POST
      • Interface for obtaining payment address
        POST
      • Order batch query interface
        POST
      • Get exchange rate interface
        POST
      • Obtain estimated amount
        POST
    • [Legacy] Asynchronous notification description v1
      • [Successful Payment] Asynchronous notification parameter description for successful payment
      • Explanation of Asynchronous Notification Signature Generation Process
    • Asynchronous notification description v2
      • Asynchronous Notification Description
      • Asynchronous Notification Signature Generation Process
      • [Successful Payment] Asynchronous notification parameter description for successful payment
      • [Order Status Change] Asynchronous notification parameter description for order status change
  1. API

Get exchange rate interface

Testing
POST
https://testapi.easytransfer.cn/server
The server_type value is get_rate

Request

Body Params application/json

Example
{
    "serial_number": "string",
    "merchant_number": "string",
    "sub_merchant_number": "string",
    "server_type": "string",
    "version": "string",
    "callback_process": 0,
    "data": {},
    "sensitive_data": {
        "buy_currency": "string",
        "sell_currency": "string",
        "user_source_country_code": "string"
    },
    "sign": "string",
    "aeskey": "string",
    "extend_info": "string",
    "return_info": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://testapi.easytransfer.cn/server' \
--header 'Content-Type: application/json' \
--data-raw '{
    "serial_number": "string",
    "merchant_number": "string",
    "sub_merchant_number": "string",
    "server_type": "string",
    "version": "string",
    "callback_process": 0,
    "data": {},
    "sensitive_data": {
        "buy_currency": "string",
        "sell_currency": "string",
        "user_source_country_code": "string"
    },
    "sign": "string",
    "aeskey": "string",
    "extend_info": "string",
    "return_info": "string"
}'

Responses

🟢200成功
application/json
Body

Example
{
    "status_code": "000000",
    "message": "string",
    "count": 0,
    "data": [
        {}
    ],
    "sensitive_data": {
        "rate": 0
    },
    "return_info": "string",
    "extend_info": "string",
    "sign": "string",
    "aeskey": "string"
}
Modified at 2025-07-28 07:18:49
Previous
Order batch query interface
Next
Obtain estimated amount
Built with