Tokenization
A Token can represent your tokenized Customer, Payment Instrument or Instrument Identifier information.
Last updated
A Token can represent your tokenized Customer, Payment Instrument or Instrument Identifier information.
Last updated
Contact NeoX to register the service.
Create bill with enabled neo_TokenCreate
field.
The bill created with field neo_TokenCreate = true
will return the token (neo_PayToken
) after payment success via IPN. The token can be used for the next payment.
Authentication
Reference to Platform Authentication.
Using scope = payment
Pay by token API
URL: https://api.neopay.vn/oapi/v2/payment/payByToken
Method: POST
Request: Content-Type: application/json
Request Parameter
orderId
String
Y
Order ID
orderInfo
String
Y
Order description
merchantTxnId
String
Y
Merchant's transaction ID (unique)
currency
String
Y
Currency (default VND)
amount
Number
Y
Bill amount
payToken
String
Y
neo_PayToken
NeoX returned
Example:
Response Data
Example:
Last result of the request will be sent via IPN.