Unbind an agreement
Unbind an agreement
- application/json
- application/xml
- application/x-www-form-urlencoded
Request Body required
Agreement Unbinding
- app_id int64 required
The unique ID of the application will be provided after the merchant registered successfully with Zalopay.
- identifier string required
The user's identifier on the merchant system, it can be a merchant user's id, phone number, email...
- binding_id string required
The ID of binding that the user wants to unbind.
- req_date int64 required
The timestamp that order was created at in ms. The different limit is 15 minutes.
- mac string required
It is signature of request. It's calculated by following input: hmacinput = app_id +
|
+ identifier +|
+ binding_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
Agreement Unbinding
- app_id int64 required
The unique ID of the application will be provided after the merchant registered successfully with Zalopay.
- identifier string required
The user's identifier on the merchant system, it can be a merchant user's id, phone number, email...
- binding_id string required
The ID of binding that the user wants to unbind.
- req_date int64 required
The timestamp that order was created at in ms. The different limit is 15 minutes.
- mac string required
It is signature of request. It's calculated by following input: hmacinput = app_id +
|
+ identifier +|
+ binding_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
Agreement Unbinding
- app_id int64 required
The unique ID of the application will be provided after the merchant registered successfully with Zalopay.
- identifier string required
The user's identifier on the merchant system, it can be a merchant user's id, phone number, email...
- binding_id string required
The ID of binding that the user wants to unbind.
- req_date int64 required
The timestamp that order was created at in ms. The different limit is 15 minutes.
- mac string required
It is signature of request. It's calculated by following input: hmacinput = app_id +
|
+ identifier +|
+ binding_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
- return_message string
- sub_return_code integer
- sub_return_message string
{
"return_code": 0,
"return_message": "string",
"sub_return_code": 0,
"sub_return_message": "string"
}
Invalid input