- Void refers to the cancellation operation initiated by the merchant after transaction authorization and before capture. After a successful void, the transaction will not enter the clearing process, and the customer's funds will not actually be deducted.
- Once the transaction has been captured, it cannot be voided and can only be refunded.
Request Example Cancel
{
"merchant_id": "18356675194960",
"order_id": "GW20620xxxxx6999",
"reason": "REQUESTED_BY_CUSTOMER"
}Successful Response Example
{
"ret_code": "000000",
"ret_msg": "Success",
"data": {
"merchant_id": "18356675194960",
"order_id": "GW20620xxxxx6999"
}
}Failed Response Example
{
"ret_code": "010000",
"ret_msg": "Invalid request"
}Refer to Webhook