Skip to main content
Fetch the current status and details of a payment session. Use this endpoint to poll or confirm the outcome of a payment after checkout. No authentication required — this is a public endpoint.

Request

GET /payments/session/{sessionId}

Path Parameters

sessionId
string
required
The unique identifier of the payment session to retrieve.

Response

sessionId
string
The session identifier.
status
string
The current status of the payment session (e.g. pending, completed, failed).
amount
integer
The session amount in paise.
currency
string
The currency for this session. Always INR.
paymentMode
string
The payment mode associated with this session.

Example

curl -X GET http://localhost:8080/payments/session/sess_OmXy5678efgh