Get consumer session
GET /api/v1/consumer-auth/session
Returns the authenticated consumer profile, including wallet balance and verification state.
Authenticate with a portal session token.
Responses
200 Current consumer session
application/json object
userConsumerUserResource
Generated sample
{
"user": {
"anonymous_balance_used": true,
"balance_cents": 0,
"balance_dollars": 0,
"created_at": "2026-01-01T00:00:00Z",
"email": "user@example.com",
"email_verified": true,
"id": 0,
"is_low_balance": true,
"name": "string",
"organisation_id": 0,
"balance_micros": 0
}
}401 Authentication is required or the supplied credentials are not accepted.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 Rate limit exceeded
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string