API Explorer
Explore and run ePay API requests with an interactive request builder for the ePay Payments API.
Get Payment Session
/public/api/v1/sessions/{id}
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. :::warning Avoid polling This endpoint is subject to <a href="/guides/rate-limits">rate limits</a> 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.