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

Result

String

0000

StoreOrderNo

String

PO0101001

Store order number

TotalFee

String

100

Transaction amount

Sign

String

Use the public key provided by intella for verification

Sign: Use the public key provided by intella for verification (Please note: use the correct public key for staging/production server).

Signature Verification

  1. Remove the “Sign” filed from the original response JSON. Save the content of the “Sign” filed for step 2.

  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 “=”.

  3. 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?