# Void ## Introduction - 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. ## Void Transaction Request Example [Cancel](/payments/apis/payments/openapi/transaction/payments-void-opl_1) ```json { "merchant_id": "18356675194960", "order_id": "GW20620xxxxx6999", "reason": "REQUESTED_BY_CUSTOMER" } ``` Successful Response Example ```json { "ret_code": "000000", "ret_msg": "Success", "data": { "merchant_id": "18356675194960", "order_id": "GW20620xxxxx6999" } } ``` Failed Response Example ```json { "ret_code": "010000", "ret_msg": "Invalid request" } ``` ## Result Notification Refer to [Webhook](/payments/docs/developer-resources/webhook)