NIN Number OTP

This API allows you to verify a user's identity by sending an OTP to their registered phone number and verifying the OTP against their NIN.

NIN Verification

POST https://api.getspendo.com/gateway/api/v1/verify/nin

Headers

Name
Type
Description

apiKey*

String

The API key that you get from spendo's dashboard.

Request Body

Name
Type
Description

otp*

Integer

OTP code The OTP code that you want to send, represented as a string. This parameter is usually generated by your system or a third-party authentication provider. be validated

number*

String

The user's NIN, represented as a string of 11 digits.

{
  "success": true,
  "message": "OTP sent",
  "code": 0,
  "data": null
}

Good to know: You can use our API Method block to fully test all the API method.

Take a look at how you might call this method using our official libraries, or via curl:

curl --location --request POST 'https://api.getspendo.com/gateway/api/v1/verify/nin' \
--header 'apiKey: test_api_key' \
--header 'Content-Type: application/json' \
--data-raw '{
  "number": "string",
  "otp": "string"
}'

Last updated