Verify Account Number
curl --request GET \
--url https://api.linkio.world/accounts/v2/verify_account_number \
--header 'ngnc-sec-key: <api-key>'import requests
url = "https://api.linkio.world/accounts/v2/verify_account_number"
headers = {"ngnc-sec-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'ngnc-sec-key': '<api-key>'}};
fetch('https://api.linkio.world/accounts/v2/verify_account_number', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.linkio.world/accounts/v2/verify_account_number",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"ngnc-sec-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.linkio.world/accounts/v2/verify_account_number"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("ngnc-sec-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.linkio.world/accounts/v2/verify_account_number")
.header("ngnc-sec-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.linkio.world/accounts/v2/verify_account_number")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["ngnc-sec-key"] = '<api-key>'
response = http.request(request)
puts response.read_body"{\n status: 'success',\n message: 'Test Vendor accounts',\n VendorList: [\n {\n vendorName: 'John Bucknor',\n vendorNumber: '9483048732',\n vendorBank: 'Wema Bank',\n },\n {\n vendorName: 'Vanessa Williams',\n vendorNumber: '7483048732',\n vendorBank: 'GT Bank',\n },\n ..........\n ],\n });\n}""{}"Accounts
Verify Account Number
This endpoint can be used to verify a Nigeria bank account number
GET
/
accounts
/
v2
/
verify_account_number
Verify Account Number
curl --request GET \
--url https://api.linkio.world/accounts/v2/verify_account_number \
--header 'ngnc-sec-key: <api-key>'import requests
url = "https://api.linkio.world/accounts/v2/verify_account_number"
headers = {"ngnc-sec-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'ngnc-sec-key': '<api-key>'}};
fetch('https://api.linkio.world/accounts/v2/verify_account_number', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.linkio.world/accounts/v2/verify_account_number",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"ngnc-sec-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.linkio.world/accounts/v2/verify_account_number"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("ngnc-sec-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.linkio.world/accounts/v2/verify_account_number")
.header("ngnc-sec-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.linkio.world/accounts/v2/verify_account_number")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["ngnc-sec-key"] = '<api-key>'
response = http.request(request)
puts response.read_body"{\n status: 'success',\n message: 'Test Vendor accounts',\n VendorList: [\n {\n vendorName: 'John Bucknor',\n vendorNumber: '9483048732',\n vendorBank: 'Wema Bank',\n },\n {\n vendorName: 'Vanessa Williams',\n vendorNumber: '7483048732',\n vendorBank: 'GT Bank',\n },\n ..........\n ],\n });\n}""{}"⌘I

