Create void
Create a Void for an eligible successful transaction before capture or settlement. Void cancels the full authorization and is separate from Refund; it never creates or automatically falls back to a refund. Unsupported payment services return CHANNEL_VOID_NOT_SUPPORTED.
transactions.write scope.Authorizations
Bearer authentication header of the form `Bearer <token>`.
Headers
Merchant account that owns the original transaction.
""default""Path Parameters
EFundPay identifier of the original successful transaction.
"7099948d-7286-47e4-aad8-b68f7eb44591"Body
application/jsonMerchant-generated unique identifier for this Void. Reuse it only for an exact retry.
"void-20260827-001"Reason for canceling the authorization.
"Customer canceled before settlement"Response
Successful Response
Resource type.
"void"EFundPay identifier of the original transaction.
Merchant Void identifier supplied in the request.
Merchant external identifier of the original transaction.
Original payment service channel code.
Void status. Processing means the payment service accepted the request asynchronously; succeeded is terminal.
"processing""succeeded"curl --request POST \--url https://api.efundpay.com/v4/transactions/7099948d-7286-47e4-aad8-b68f7eb44591/voids \--header 'Authorization: Bearer <token>' \--header 'x-merchant-account-id: <x-merchant-account-id>' \--header 'Content-Type: application/json' \--data '{"external_identifier": "void-20260827-001","reason": "Customer canceled before settlement"}'
{"type": "void","transaction_id": "7099948d-7286-47e4-aad8-b68f7eb44591","external_identifier": "void-20260827-001","transaction_external_identifier": "payment-12345","channel_code": "Adyen-icr","status": "processing"}