Open API
首页
首页
  1. 首页
  • 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
  • API
    • Order interface
      POST
    • Attachment upload interface
      POST
    • Interface for obtaining payment address
      POST
    • Order batch query interface
      POST
  • 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
    • [Order Status Change] Asynchronous notification parameter description for order status change
  1. 首页

API Request Parameter Description

Request a fixed JSON template:
{
      "serial_number": "string"  ,
      "merchant_number": "string",
      "sub_merchant_number": "string",
      "server_type": "string",
      "version": "string",
      "callback_process": 0,
      "data": "{}",
      "sensitive_data": "string",
      "sign": "string",
      "aeskey": "string",
      "extend_info": "string",
      "return_info": "string",
}
Request parameter description#
Data and Sensitive_ Both data parameters are in JSON format, sensitive_ Data is the ciphertext of sensitive data
Parameter NameRequiredTypeDescription
serial_numberYESStringRequest serial number, each request must have a unique serial number. Rules for generating serial numbers refer to the request for generating serial numbers
merchant_numberYESStringMerchant account, provided by ET
sub_merchant_numberYESStringSecond level merchant account, provided by ET
server_typeYESStringService type, different interfaces pass different service type values
versionYESStringVersion number, default to 2.0.0
callback_processNOInt0 represents no, 1 represents yes. Do you need special treatment? Please contact ET for details
dataNOjsonFor specific data types, please refer to the parameter description for each interface request. Use JSON to serialize the data
sensitive_dataNOStringSensitive data fields. The interface needs to return sensitive data, and special instructions will be requested in the interface parameters. When there is no value, an empty string will be passed. Encryption process reference interface encryption and decryption steps
signYESStringIf the signature verification method provided by Yisihui is not used, both parties need to negotiate and discuss the verification method. Signature process reference interface encryption and decryption steps
return_infoNOStringI hope to have the value passed back by Yisihui when calling the return function. For example, if this value is passed back as 1 during the call, there will also be a field that returns as 1. If not used, an empty string will be given
extend_infoNOStringExtended information, reserved for use, default to empty
aeskeyNOStringUsed for AES encryption, key and iv are the same value and need to be encrypted. Encryption process reference interface encryption and decryption steps
Previous
Request for serial number generation instructions
Next
API Response Parameter Description
Built with