Skip to main content

Sign in

POST 

/auth/login

No token. One of the calls you make before you have one. Send X-Tenant-Code where the operation lists it — that is which tenant you are asking about, not proof of who you are.

Exchanges an email and password for an access token, in the tenant named by X-Tenant-Code.

Which population the email is looked up in follows from the host the request came from: a consumer host resolves to wallet holders, an operator host to staff. The access token is short-lived; the refresh token comes back as an HttpOnly cookie for browsers, or in the response body for native clients that send X-Client: mobile.

A wrong email and a wrong password fail identically, on purpose — the response cannot be used to discover whether an account exists.

Request

Responses

OK