Payment Notification
To get notification of transaction result, merchant has to create a receiving API, and provide a URL with following spec:
https://<domain>/notifyMerchant
Request
Item
Data Type
Sample
Description
MchId
String
Account0001
Merchant ID
StoreOrderNo
String
PO0101001
Store order number
TotalFee
String
100
Transaction amount
Sign
String
Use the public key provided by intella for verification
Signature Verification
Remove the “Sign” filed from the original response JSON. Save the content of the “Sign” filed for step 2.
Do a base64 decode of the content of the “Sign” field. Replace the unicode-encoded characters with their original ASCII characters prior to the base64 decode. For example, replace "\u003d" by “=”.
Verify the JSON data from step 1 with the sign data from step 2 by the RSA public key provided by intella with SHA256 algorithm.
Last updated
Was this helpful?