Validate OTP
This API is used to confirm that the person requesting access to the financial statements is the rightful owner of the account. It is crucial for maintaining the security and integrity of financial data access.
Input
To verify an OTP and fetch CAS details, you need to provide the following details in your request:
Customer ID: The unique identifier of the user for whom the CAS is to be fetched.
Entered OTP: The OTP that the user has received and entered for verification.
Authorization Key: A secure key that confirms the legitimacy of your request. This key must be included in the headers of your request to authenticate it.
Output
The response from this API provides confirmation that the OTP has been verified and the CAS has been successfully fetched. It includes the following details:
Status: Indicates the success of the request.
Code: A numerical code representing the result of the operation (e.g., 200 for success).
Message: A brief message describing the outcome (e.g., "success").
Input Type
Input | Type | Description |
---|---|---|
finsire_id | string | A valid id generated during user creation |
enteredOtp | string | The OTP received from the last API |
Common error scenarios
The following are the common error scenarios in sending an API request:
Error | Description |
---|---|
param is missing or the value is empty: finsire_id | finsire_id is a required field |
Try out the API here
Updated about 2 months ago