๐Ÿ‡บ๐Ÿ‡ธ
ReelPay Payment
  • REELPAY - FOR MERCHANT
    • What is ReelPay
    • ReelPay API Introduction
    • Contact Us
  • ReelPay - FOR DEVELOPER
    • To Get Started
      • Signature
      • API Specification Common Rules
  • Payment API
    • Hosted Checkout Page Integration
    • Native Checkout Integration
    • API Interface
    • Webhook Notification
  • SDK Instruction
  • Error Code
  • CHANGES
    • Change Record
  • REELPAY POLICY
    • ReelPay Privacy Policy
    • Disclaimer for Purchasers
    • Terms of Use
    • AML/CTF Policy
Powered by GitBook
On this page
  • Webhook notification
  • Example
  1. Payment API

Webhook Notification

PreviousAPI InterfaceNextSDK Instruction

Last updated 1 year ago

Configure Webhook to receive notifications. ReelPay will notify merchant of the final transaction results. You can configure the Webhook URL on the

Transactions will start a request to the callback interface set by the merchant when involving the following :

  • Paid

  • Transaction close

  • Transaction timeout

  • Refunded

  • Chain confirmation failed

Callback Frequency: 5sใ€15sใ€30sใ€3mใ€10mใ€20mใ€30mใ€30mใ€30mใ€60mใ€3hใ€3hใ€3hใ€6hใ€6h

Total: 24h3m50s

Callback Form:

Webhook notification

Name
Value
Required
Type
Description

X-Appid

eqrbntqbi5uqvkpr

Y

string

X-Timestamp

1690368283

Y

string

Timestamp in seconds (10-digit). The request is valid for two minutes.

X-Sign

e0c6a719ebc366da0340c1b450026a903a55c86ed5fbe0b586cd73f6be74ade6

Y

string

hmacSHA256 (body (json string)+timestamp+appKey)

X-EventType

Paid

Y

string

```json
{
   "trade_no": "uGHT9KRRvLIl4WW8JAaTWmETf3mz8D60",
   "appid": "eqrbntqbi5uqvkpr",
   "out_trade_no": "202307250001",
   "amount": "1.2",
   "status": "PAID",
   "success_time": 1690369680
 }
```
Name
Type
Description

trade_no

string

Transaction ID

appid

string

Merchant APPID

out_trade_no

string

Merchant Order ID

amount

string

Transaction Amount

status

string

Transaction Status

success_time

string

Transaction Time

Return Appid, Sign, Timestamp in the header of the response. The signature method hmacSHA256 (body (json string)+timestamp+appKey).

Please use the data with caution if the signature verification fails. It indicates that the data has been tampered with.

Merchants sign to ensure information safety. Once the merchant has processed the order, please return "Success" in the body of the HTTP response if the processing has been successful. If the process fails, ReelPay will attempt to send the order again and the Webhook will retry up to 15 times ( Callback Frequency: 5sใ€15sใ€30sใ€3mใ€10mใ€20mใ€30mใ€30mใ€30mใ€60mใ€3hใ€3hใ€3hใ€6hใ€6h, Total: 24h3m50s ).

Example

The callback content is still encrypted.ใ€ŒFor more information see the ใ€

Merchant's unique credential. Find it on the .

Signature
AppManage page
AppManage page
Transaction Status Code
events
AppManage