Void transaction
POST/api/v1/transactions/:id/void
Voids a previously authorized transaction through the online transaction service (pay host). Requires transactions:write. The request externalReferenceId must match Idempotency-Key.
Request
Responses
- 200
- 401
- 404
- 409
- 422
Transaction voided successfully.
Missing or invalid bearer token.
Requested resource not found.
PAYMENT_IN_DOUBT is an unknown/pending monetary outcome, not a decline. The original operation may still complete. Retain the original key and request, query its status or replay that exact transaction request to recover the durable original result; never change the key or submit another payment. Other 409 codes (such as IDEMPOTENCY_CONFLICT) retain their own meanings.
Response Headers
Cache-Control
Request is syntactically valid but cannot be processed.