Query for the payment tokenization of a binding
Query for the payment tokenization of a binding
- application/json
- application/xml
- application/x-www-form-urlencoded
Request Body required
Tokenization Query
- app_id int64 required
The unique ID of the application will be provided after the merchant registered successfully with Zalopay.
- app_trans_id string required
Unique transaction ID of application, format: yyMMddxxxxxxxxx. Max length is 40. For example: 180208181007242
- req_date int64 required
Current timestamp in milliseconds.
- mac string required
It is signature of request. It's calculated by following input: hmacinput = app_id +
|
+ apps_trans_id +|
+ req_date; and use sha256 with app's hmac key as sign key.Please refer to secure data transmission for detailed information.
Request Body required
Tokenization Query
- app_id int64 required
The unique ID of the application will be provided after the merchant registered successfully with Zalopay.
- app_trans_id string required
Unique transaction ID of application, format: yyMMddxxxxxxxxx. Max length is 40. For example: 180208181007242
- req_date int64 required
Current timestamp in milliseconds.
- mac string required
It is signature of request. It's calculated by following input: hmacinput = app_id +
|
+ apps_trans_id +|
+ req_date; and use sha256 with app's hmac key as sign key.Please refer to secure data transmission for detailed information.
Request Body required
Tokenization Query
- app_id int64 required
The unique ID of the application will be provided after the merchant registered successfully with Zalopay.
- app_trans_id string required
Unique transaction ID of application, format: yyMMddxxxxxxxxx. Max length is 40. For example: 180208181007242
- req_date int64 required
Current timestamp in milliseconds.
- mac string required
It is signature of request. It's calculated by following input: hmacinput = app_id +
|
+ apps_trans_id +|
+ req_date; and use sha256 with app's hmac key as sign key.Please refer to secure data transmission for detailed information.
- 200
- 405
OK
- application/json
- Schema
- Example (from schema)
Schema
- return_code integer
Return codes:
1 - SUCCESS
2 - FAILED
3 - PENDING
- return_message string
- sub_return_code integer
- sub_return_message string
- binding_token string
- binding_qr_link string
- deep_link string
- short_link string
- order_no integer
- order_token string
- order_url string
- zp_trans_id string
- status integer
{
"return_code": 0,
"return_message": "string",
"sub_return_code": 0,
"sub_return_message": "string",
"binding_token": "string",
"binding_qr_link": "string",
"deep_link": "string",
"short_link": "string",
"order_no": 0,
"order_token": "string",
"order_url": "string",
"zp_trans_id": "string",
"status": 0
}
Invalid input