IPN
Instant Payment Notification
Merchant can get payment result via IPN (Instant Payment Notification).
Merchant needs to build a RESTful API to receive data from NeoX after the transaction is completed. This API must be registered to NeoX before the payment is made
Method: POST
Data refer to NeoX's IPN data.
Merchant has to respond to NeoX following the structure merchant response when receiving IPN.
Process Flow
How to verify the IPN
How to validate neo_SecureHash
Format: hex string, 64 characters, uppercase
Using cryptographic hash function HMAC-SHA256
How to build
Input is all parameters on PaymentURL or ReturnURL.
Only use parameters that start with prefix neo_.
String must be sorted in alphabetical order base on parameter name.
NeoX will provide a Secret Key to merchant to hash.
IPN verification
Merchant needs to build a hashed string follow above guide and compare to received neo_SecureHash parameter
NeoX's IPN data
Some fields in IPN data but not using to create neo_SecureHash
Merchant response
Last updated