Open API
English
  • English
  • 简体中文
API DOC
API DOC
English
  • English
  • 简体中文
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
      • Refund application interface
        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
      • Asynchronous notification of refund result
  • Schemas
    • 模型-英文
      • 通用请求数据英文模版
      • 通用响应数据模板-英文
      • 基础下单模型-英文
      • 下单模型-英文
      • 查询订单详情模型-英文
      • 支付方式模型tuition_rmb_list-英文
      • 获取支付地址pay_config_list-英文
    • 模型-中文
      • 通用请求数据模板
      • 通用响应数据模板
      • 基础下单模型
      • 下单模型
      • 查询订单详情模型
      • 支付方式模型tuition_rmb_list
      • 获取支付地址-pay_config_list
      • 【第三方跳转下单】敏感数据
      • 【第三方支付通知】敏感数据
      • 【订单付款操作通知】敏感数据
      • 【申请退款】请求数据
      • 印度下单数据模型
API DOC
API DOC
English
  • English
  • 简体中文
English
  • English
  • 简体中文
  1. API

Interface for obtaining payment address

POST
https://testapi.easytransfer.cn/server
server_type value get_special_pay_url
The payment address will only be returned when the order status is waiting for payment, and an error code of 200003 will be returned for other statuses.

Request

Body Params application/json

Example
{
    "serial_number": "string",
    "merchant_number": "string",
    "sub_merchant_number": "string",
    "server_type": "get_special_pay_url",
    "version": "string",
    "callback_process": 0,
    "data": {
        "order_id": "string",
        "merchant_user_key": "string",
        "notify_url": "string",
        "back_jump_url": "string",
        "back_page_url": "string",
        "appid": "string"
    },
    "sensitive_data": {},
    "sign": "string",
    "aeskey": "string",
    "extend_info": "string",
    "return_info": "string"
}

Request Code 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": "get_special_pay_url",
    "version": "string",
    "callback_process": 0,
    "data": {
        "order_id": "string",
        "merchant_user_key": "string",
        "notify_url": "string",
        "back_jump_url": "string",
        "back_page_url": "string",
        "appid": "string"
    },
    "sensitive_data": {},
    "sign": "string",
    "aeskey": "string",
    "extend_info": "string",
    "return_info": "string"
}'

Responses

🟢200成功
application/json
Body

Example
{
    "status_code": "000000",
    "message": "string",
    "count": 0,
    "data": [
        {
            "pay_config_list": [
                {
                    "pay_url": "string",
                    "pay_type": 0,
                    "appid": "string",
                    "original_id": "string"
                }
            ]
        }
    ],
    "sensitive_data": [
        {}
    ],
    "return_info": "string",
    "extend_info": "string",
    "sign": "string",
    "aeskey": "string"
}
Modified at 2024-12-12 02:40:58
Previous
Attachment upload interface
Next
Order batch query interface
Built with