User

User

Generate user authentication tokens

post
/api/user/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.

Authorizations
x-client-idstringRequired

Your client ID

Body
emailstringRequired

Email of a user

Example: [email protected]
countryIsoCodestringRequired

Country code

Example: NG
Responses
chevron-right
200

Successfully generated user tokens

application/json
accessTokenstringOptional

JWT access token for user authentication

refreshTokenstringOptional

JWT refresh token for token renewal

post
/api/user/tokens
200

Successfully generated user tokens

Get User KYC Status

post
/api/user/kyc/status

Retrieves the Know Your Customer (KYC) status for a given user. If the user does not exist, a new user will be created with the provided email and country ISO code. This feature is disabled by default and can be enabled by contacting Fonbnk support.

Authorizations
x-client-idstringRequired

Your client ID

Body
emailstring · emailRequired

The user's email address.

Example: [email protected]
countryIsoCodestringRequired

The ISO 3166-1 alpha-2 country code for the user.

Example: NG
Responses
chevron-right
200

Successfully retrieved the user's KYC status.

application/json
passedKycTypestringOptional

The type of KYC the user has passed.

Example: advanced
kycStatusstring · enumOptional

The current KYC status of the user.

Example: pendingPossible values:
kycStatusDescriptionstringOptional

A description of the KYC status.

Example: Partial Match
reachedKycLimitbooleanOptional

Indicates if the user has reached their KYC limit.

Example: false
post
/api/user/kyc/status
200

Successfully retrieved the user's KYC status.

Submit User KYC Information

post
/api/user/kyc/submit

Submits Know Your Customer (KYC) information for a user. This feature is disabled by default and can be enabled by contacting Fonbnk support.

Authorizations
x-client-idstringRequired

Your client ID

Body
emailstring · emailRequired

The email address of the user

Example: [email protected]
documentIdstringRequired

ID of the KYC document type being submitted

Example: 60a3e5e1f5c1a40b2c9e4b2d
Responses
chevron-right
200

Successfully submitted KYC information

application/json
successbooleanOptionalExample: true
post
/api/user/kyc/submit
200

Successfully submitted KYC information

Last updated