Validation account endpoint - Nigeria
This service is only available for Nigeria
Headers
Header
Type
Description
x-Date
String
ISO8601 Datetime with Timezone. Eg 2020-07-12T13:46:28.629Z
x-Login
String
Merchant xLogin
x-Trans-Key
String
Merchant xTransKey
Content-Type
String
application/json
x-Version
String
Api Version
User-Agent
String
API Used to identify the application type, operating system, software vendor or software version of the requesting software user agent.
Authorization
String
<auth version>, Signature: <hmac(secretKey, "X-Login+X-Date Header+RequestBody")>
Generic request body
1
{
2
"fields": {},
3
"filters": {}
4
}
5
Copied!
Generic response body
1
{
2
"code": "string",
3
"message": "string",
4
"result": {
5
"data": [
6
{}
7
]
8
},
9
"status": "string",
10
"time_stamp": "2020-09-25T21:56:57.989Z"
11
}
Copied!
Example
Request for bank account validation in Nigeria:
1
{
2
"fields":{
3
"bank_account":"12345789",
4
"bank_code" : "44"
5
},
6
"filters":{
7
"country_code":"NG"
8
}
9
}
Copied!
Response
1
{
2
"status": "success",
3
"code": "1000",
4
"message": "Successful validation",
5
"time_stamp": "2020-08-31T02:35:50.399",
6
"result": {
7
"data": [
8
{
9
"status": "success",
10
"field_name": "bank_account",
11
"message": "bank_account is valid.",
12
"extra_info": [{"account_name": "Flutterwave Developer Account"}]
13
}
14
]
15
}
16
}
17
Copied!
Error codes:
Code
Message
999
Your request is badly formed, it was not possible to process
1000
Successful validation
1001
Failed validation
1003
Validation with partial errors
1004
You must add at least one validation field
1005
You must add at least one filter with valid fields.
1006
The entered filter is not supported. The allowed filters are %s
1007
An error occurred while trying to get the validation settings.
1008
No validation detail was found for the requested field.
1009
There is no validator for the combination of filters entered.
1010
No validation detail type was found for the requested field.
500
Invalid signature
Last modified 9mo ago
Copy link