--- url: >- https://acquirer-api-docs-v4-en.pingpongx.com/en/notes/api/services/marketplaces/mpVoid/index.md description: >- The VOID-Pre-Authorization Void API is used to cancel preauthorization transactions that have been created but not yet captured. It applies to merchants releasing customer funds when payment completion is not needed, reducing unnecessary financial processing. Key features include specifying transaction ID to perform cancellation operations, supporting multiple currency types worldwide. Key parameters involve transaction identifiers, cancellation reasons, etc., ensuring flexibility and security in fund management. --- # VOID-Pre-Authorization Void ```apidef endpoint: POST /v4/payment/void name: VOID-Pre-Authorization Void ``` The VOID-Pre-Authorization Void API is used to cancel preauthorization transactions that have been created but not yet captured. It applies to merchants releasing customer funds when payment completion is not needed, reducing unnecessary financial processing. Key features include specifying transaction ID to perform cancellation operations, supporting multiple currency types worldwide. Key parameters involve transaction identifiers, cancellation reasons, etc., ensuring flexibility and security in fund management. ## Request Parameters | Parameter | Type | Required | Description | |--------|------|------|------| | accId | string | M | Unique identifier for the store, which will appear in the response message after creation; inputting it means modifying the data | | clientId | string | M | PingPong Merchant ID | | signType | string | M | Supports MD5 , SHA256; for details, see the Signature Specification: /en/notes/guide/sign/ section of this document | | sign | string | M | Signature; for details, see the Signature Specification: /en/notes/guide/sign/ section of this document. All parameters participate in the signature | | version | string | M | Version number, currently fixed at 1.0, may be adjusted with changes to the interface in the future | | bizContent | string | M | Collection of request parameters, with no limit on maximum length. Except for common request parameters, all other request parameters must be passed within this parameter, format: JSON string | | └─ merchantTransactionId | string | M | Original transaction ID from the merchant's website | | └─ notificationUrl | string | M | Asynchronous notification address. URL recommendation: use a complete URL with a publicly reachable domain name. Standard web ports are recommended (HTTPS defaults to 443 and HTTP defaults to 80). Ensure the URL can reliably receive PingPongCheckout asynchronous notifications. | | └─ merchantVoidId | string | M | Merchant's pre-authorization void transaction ID, globally unique | | └─ amount | string | M | Transaction amount, with two decimal places retained, such as 10.12. For some transaction currencies like JPY and KRW, where the smallest unit is the base currency, it also requires two decimal places to be submitted, for example, 29.00 | | └─ currency | string | M | Transaction currency, ISO 4217 three-letter code. For specific supported currencies, see the attached Transaction Currencies: /en/notes/appendix/transactionCurrency/ table | ### Request Example ```json { "accId": "2023042011040310224447", "bizContent": "{\"merchantVoidId\":\"PMT-RM319TQYEJ1715049483296\",\"merchantTransactionId\":\"PMT-RM319TQYEJ1715049483296\",\"amount\":\"100\",\"currency\":\"USD\",\"notificationUrl\":\"https://test-acquirerpay.pingpongx.com/qa/notify\"}", "clientId": "2023042011040310224", "sign": "334BB275659C85577A889EDCE1693972BA1744B24F8C12A8A5E37EE557B66DD0", "signType": "SHA256", "version": "1.0" } ``` ## Response Parameters | Parameter | Type | Description | |--------|------|------| | accId | string | Unique store identifier, which will appear in the response message after being added; inputting it means modifying the data | | clientId | string | PingPong merchant number | | signType | string | Supports MD5 , SHA256; for details, see the Signature Specification: /en/notes/guide/sign/ section of this document | | sign | string | Signature; for details, see the Signature Specification: /en/notes/guide/sign/ section of this document. All parameters participate in the signature | | code | string | Result status code, see the appendix Status Code Table: /en/notes/appendix/successCodeList/ | | description | string | Result description | | bizContent | string | Business response parameters | | └─ transactionId | string | Original transaction serial number of PingPong | | └─ merchantTransactionId | string | Original transaction serial number of the merchant's website | | └─ merchantVoidId | string | Void transaction serial number of the merchant's website | | └─ description | string | Result description | | └─ currency | string | Transaction currency | | └─ amount | string | Transaction amount | | └─ voidTime | string | Void initiation time, timestamp | | └─ voidEndingTime | string | Void final state arrival time, timestamp | | └─ status | string | Status SUCCESS- Success; FAILED- Failure; PROCESSING- In progress; | ### Response Example ```json { "accId": "2023042011040310224447", "bizContent": "{\"amount\":\"100.000000\",\"merchantVoidId\":\"PMT-RM319TQYEJ1715049483296\",\"transactionId\":\"2024050750046462\",\"voidEndingTime\":\"1715049613278\",\"voidTime\":\"1715049612000\",\"merchantTransactionId\":\"PMT-RM319TQYEJ1715049483296\",\"currency\":\"USD\",\"status\":\"SUCCESS\"}", "clientId": "2023042011040310224", "code": "000000", "description": "Transaction succeeded", "sign": "0474235D375F8A81E9FD17E278ED3F11039F8462F64650A1F0D613FADAE5B04F", "signType": "SHA256" } ```