Generate OTP

This API is typically used when a user needs to securely access their financial statements. The OTP acts as a security layer, verifying the user's identity before providing access to sensitive information.

Input

To generate an OTP, you need to provide the following details in your request:

Customer ID: A unique code for each customer that requires the OTP, such as "32ce79860a45cd4857be9df097f46b4f8d".

Authorization Key: A secure key that confirms the legitimacy of your request. This key should be included in the headers of your request to ensure it's properly authenticated.

Output

The response from this API indicates whether the OTP was successfully sent to the user. It includes the following details:

Status: Shows whether the request was successful.

Code: A numerical code indicating the success status (e.g., 200 for success).

Message: A brief message confirming the action taken (e.g., "OTP Sent.").

Input Type

InputTypeDescription
finsire_idstringA valid id generated during user creation

Common error scenarios

The following are the common error scenarios in sending an API request:

ErrorDescription
param is missing or the value is empty: finsire_idfinsire_id is a required field

📘

Try out the API here