POST /v1/payments/void
Voids the remaining amount of an original authorized payment.
Request Parameters
Merchant-generated unique ID for this void request.Max length: 64 characters
Payment ID of the original authorization to be voided.Max length: 64 characters
Set to
true to void all remaining payment amount after completion.Extension information.Max length: 4096 characters
Response Parameters
Standard result object with
resultCode, resultStatus, resultMessageMerchant’s void request ID.Max length: 64 characters
Wallet-generated unique void ID.Max length: 64 characters
Extension information.Max length: 4096 characters
Result Codes
| resultStatus | resultCode | Description |
|---|---|---|
A | ACCEPTED_SUCCESS | Accepted successfully |
S | SUCCESS | Void successful |
F | ORDER_NOT_EXISTS | Order does not exist |
F | ORDER_STATUS_INVALID | Order status is invalid |
F | ORDER_IS_FROZEN | Order is frozen |
F | ORDER_UNSUPPORTED_OPERATION | Order does not support void |
F | CURRENCY_NOT_SAME | Currency mismatch |
F | AMOUNT_EXCEEDS_LIMIT | Payment amount exceeds limits |
F | REPEAT_REQ_INCONSISTENT | Duplicate request with inconsistent data |
F | MUTEX_OPERATION_IN_PROCESSING | Another operation in progress |
F | MERCHANT_NOT_EXIST | Merchant does not exist |
F | USER_NOT_EXISTS | User account does not exist |
F | USER_STATUS_ABNORMAL | User status abnormal |
F | MERCHANT_STATUS_ABNORMAL | Merchant status abnormal |
U | UNKNOWN_EXCEPTION | Unknown error occurred |