user

Generate user authentication tokens

Generates authentication tokens for a user. Creates a new user if one doesn't exist with the provided email. This feature is disabled by default and can be enabled by contacting Fonbnk support.

post/api/user/tokens

Request body

emailstring required

Email of a user

countryIsoCodestring required

Country code

Response

Successfully generated user tokens

accessTokenstring

JWT access token for user authentication

refreshTokenstring

JWT refresh token for token renewal

Changes

No recorded changes to this endpoint across all 1 revision of this API.