Error Messages: /void

Every request to POST /v1/void that returns HTTP 400, with the error key and the message for each case.

This page lists the requests to POST /v1/void that return HTTP 400, with the error key and the message for each case. The endpoint is documented on /void. The conventions for these tables and the errors that several endpoints share are on Error Messages by Endpoint.


POST /v1/void names the order in the request body with orderId or orderExternalId. All 400 responses use Format A.

TriggerError keyMessage
No idempotencyKeyIdempotencyKeyAn idempotency key is required.
Both orderId and orderExternalId sent, or neitherOrderIdProvide exactly one of orderId or orderExternalId.
Order is not in capturerequired statusVoidOrder is not in correct state to be voided
Order is already capturedVoidOrder has been captured and cannot be voided
Order has no authorization to releaseVoidNo successful authorization to void
amount exceeds the remaining authorized amountVoidInvalid void amount.
Partial void sent, and partial voids are not enabled for the merchantVoidPartial void is not enabled for this merchant
  • A void that the processor does not apply returns 500 with status: "FAILED" and the reason in the errors array, not 200. See /void.
  • If no order matches orderId or orderExternalId, the API returns 404.
  • A 400 from the last five rows, and a 404, are stored against the idempotencyKey. Send a new key after you correct the request.

Did this page help you?