Open API
首页
首页
  1. Asynchronous notification description v1
  • 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. Asynchronous notification description v1

Explanation of Asynchronous Notification Signature Generation Process

Example of Asynchronous Notification Parameters#

FieldTypeDescRemark
order_idStringorder idET Order Id
pay_resultIntPayment results1 payment successful, 0 failed
pay_amountFloatpayment amountFloating point number, example 10000.00.
pay_datetimeStringPayment timeString type, example 2017-10-12 10:00:00
extend_infoStringextend infoSubsequent reserved use。
signStringsignatureUse MD5 to generate signatures. For detailed procedures, please refer to the asynchronous notification signature generation process instructions

Asynchronous notification generation signature process#

Assemble the parameters according to the parameter order of the asynchronous notification parameter example (refer to the parameter example of each asynchronous notification for details), calculate the digest using md5, splice the salt value to the front of the signature string, and finally calculate the digest using md5
Example of sending signature:
Salt: xxxxxxxsssssstttttt # We will provide a unique salt for the merchant
order_id=ET00000000000000001&pay_result=1&pay_amount=100&pay_datetime=2017-10-12 10:00:00&extend_info
Calculate the summary using MD5 and then fill it in the sign field
Previous
[Successful Payment] Asynchronous notification parameter description for successful payment
Next
Asynchronous Notification Description
Built with