Void a card payment
  • 21 Feb 2025
  • 1 Minute to read
  • Dark
    Light

Void a card payment

  • Dark
    Light

Article summary

After a card payment has been authorised, the transaction remains incomplete until it undergoes the capture process. If you decide not to proceed with capturing the payment, you have the option to void it via our card payments API. Voids are only possible for card payments.

Voids are only possible on transactions which are of transaction type:

  • Authorisation ('Auth')
  • Purchase ('Purc')
Information

Voids can only be processed within a 24-hour timeframe from the original transaction posting. Should this period elapse, you have the option to process a refund or payout instead.

It is not possible:

  • To void a transaction which has been captured.
  • To void a refund or payout.
Contigent on your acquirer

Some rare acquirers do not support 'Voids'. You can verify this by checking the acquirer specifications for the supported transaction types of your acquirer. Should your acquirer not support voids, you have the option to process a refund or payout after the 24-hour waiting period.

Void on partially captured amount

You have the flexibility to submit a void request within the initial 24 hours for a partially captured payment, releasing the remaining funds back to the cardholder. If you opt not to request it, we'll automatically void the remaining amount, returning it to the customer when the authorisation expires.

To process a void successfully, you must provide the PSP ID of the authorised payment. The PSP ID is returned in the response when creating a Hosted Payment Page token (HPP Token) or when using our payment operations API.

Endpoint

PUT /api/directconnect/execute Try it here


Request Example

{
  "TransactionType": "VOID",
  "Amount": "1.00",
  "Currency": "EUR",
  "CallBackURL": "www.yourURLhere.com/technicalsupporttool-fe/Listener",
  "IsTest": false,
  "PspId": "750762"
}

Response Example

{
"pspid": 738246,
"bankResponse": "Processed",
"bankAccept": "YES",
"cardToken": "9705594a-365d-4157-84a8-5af04bbb8507",
"redirectUrl": null,
"isSuccess": true,
"errorMessage": null
}

Manually Voiding a payment using our Portal

Link to portal guide here


Was this article helpful?