Users and balances
Resolve the calling user token to its wallet user
Resolves the calling user token to its wallet user.
GET
/v1/meResolves the calling user token to its wallet user. Only a user token has a self: an API key or a staff session is refused user_token_required (403), and a token whose subject has no wallet user in this tenant gives user_not_found (404).
Authorization
bearerAuth AuthorizationBearer <token>
A tenant API key (sk_{env}_{id}_{secret}), a wallet user token, or an IdP access token. Which principal the credential resolves to decides the scopes it carries; see the authentication guide.
In: header
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/me"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "external_id": "string", "kind": "consumer", "display_name": "string", "phone": "string", "email": "user@example.com", "handle": "string", "status": "string", "created_at": "2019-08-24T14:15:22Z"}