Skip to main content
Use this endpoint to confirm that your session is active and to retrieve your Pay3 user context — including your internal user ID, wallet ID, Stellar wallet address, network, and session expiry. This is especially useful after page load or app initialization to check whether a stored session cookie is still valid before making further API calls.

Endpoint

GET /api/auth/me Authentication is required. Include either the pay3_session cookie or an Authorization: Bearer <session-token> header.

Response

All Pay3 API responses are wrapped in a standard envelope:
A successful 200 OK response returns your authenticated user context inside data.
object
The authenticated user context.
string
A unique identifier for this API request, useful for support and debugging.

Example

Request

Response Body


Error Responses