For the complete documentation index, see llms.txt. This page is also available as Markdown.

Payment Result API

Nodex Pay confirms that the payment has been finalized on the blockchain and notifies the business client of the result. This API is implemented on the business client site side in order to receive that notification. Implementation is optional, but recommended as it is the only way to be passively notified by Nodex Pay.

API Spec

Receiving a kickback sent from the Nodex Pay to the Business Client when payment is finalized.

POST e.g. yourdomain/apiname

Content-Type: application/json

Request Body

Name
Type
Description

order_code

String

The value set by the business client (Integrator) to uniquely identify the payment transaction when executed Payment Request API

transaction_code

String

The value set by the Nodex Pay to uniquely identify the payment transaction.

A 12 character string, separated by hyphens every 4 characters for a total of 14 characters.

e.g. A1B2-3CD4-5E6F

amount

String

Amount paid

symbol

String

Business Client deposit crypto symbol i.e.) USDT, USDC, DAI, JPYC

result

Boolean

Success=true, Failed=false

verify_token

String

This value is a hash value used to check whether the Payment Result API parameters have been tampered with. The validity of the parameters can be verified by hashing a string in the following format with SHA256 and checking it against the "verify_token" of this API.

OERDER_CODE_IN_THIS_API_PARAMETER::AMOUNT_IN_THIS_API_PARAMETER::YOUR_HASH_TOKEN

chain_id

String

Chain ID of the blockchain where the payer made the payment

https://chainlist.org/

transaction_hash

String

Identification code to uniquely identify the transaction issued by the blockchain settled by the payer.

Last updated