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

Capture Payment

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

Open API reference

Capture a payment by finalizing a previously authorized transaction and moving the funds from the customer’s card to your account.

When a payment is first authorized, the customer’s bank sets aside the money but doesn’t transfer it yet. Capturing the payment completes the process and transfers those funds to you.

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

integer