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
GET1.0.0

Get Payment Session

/public/api/v1/sessions/{id}

Open API reference

Retrieve the current state and details of a specific payment session.

This endpoint can be used to look up a session by its ID and inspect its lifecycle, including whether it is still pending, in progress, completed, or expired.

Avoid polling

This endpoint is subject to rate limits and must not be used for continuous polling.

Instead, you should rely on the notificationUrl provided during session initialization to receive the outcome of the payment. This is the primary and recommended integration pattern.

Use this endpoint as a fallback mechanism - for example, if you did not receive a webhook or need to manually verify the final state of a session.

Authentication

Paste a key, or log in to ePay test.

string
string