v1

latestOpenAPI 3.1.02026-07-2372117.5 KB
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