Looking for ePay classic docs? Go to docs.epay.dk
ePay documentationDocsePay documentation

API Explorer

Explore and run ePay API requests with an interactive request builder for the ePay Payments API.

API category
Endpoint
POST1.0.0

Void Payment

/public/api/v1/transactions/{transactionId}/void

Open API reference

Void a payment by releasing an already authorized amount, before it is captured, so no funds is transferred from the cardholder to you.

This releases the held funds on the customer’s card instead of completing the charge.

This cannot be used to "cancel" a pending payment, that has not yet been authorized.

We recommend a minimum timeout of 60 seconds.

Operations are processed synchronously

All operations such as CAPTURE, VOID and REFUND are processed synchronously and the outcome is returned directly in the response, meaning webhooks are not required.

We strongly recommend using the Idempotency-Key header, to ensure safe retries in case of network failure.

Authentication

Paste a key, or log in to ePay test.

string
string

Request body

amount*integer