Get Banks
curl --request GET \
--url https://seerbitapi.com/api/v2/banks/merchant/SBTESTPUBK_p8GqvFSFNCBahSJinczKd9aIPoRUZfdaimport requests
url = "https://seerbitapi.com/api/v2/banks/merchant/SBTESTPUBK_p8GqvFSFNCBahSJinczKd9aIPoRUZfda"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://seerbitapi.com/api/v2/banks/merchant/SBTESTPUBK_p8GqvFSFNCBahSJinczKd9aIPoRUZfda', 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://seerbitapi.com/api/v2/banks/merchant/SBTESTPUBK_p8GqvFSFNCBahSJinczKd9aIPoRUZfda",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://seerbitapi.com/api/v2/banks/merchant/SBTESTPUBK_p8GqvFSFNCBahSJinczKd9aIPoRUZfda"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://seerbitapi.com/api/v2/banks/merchant/SBTESTPUBK_p8GqvFSFNCBahSJinczKd9aIPoRUZfda")
.asString();require 'uri'
require 'net/http'
url = URI("https://seerbitapi.com/api/v2/banks/merchant/SBTESTPUBK_p8GqvFSFNCBahSJinczKd9aIPoRUZfda")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "SUCCESS",
"data": {
"code": "00",
"merchantBanks": [
{
"bankName": "Guarantee Trust Bank",
"bankCode": "058",
"url": null,
"logo": null,
"status": "ACTIVE",
"minimumAmount": 100,
"requiredFields": {
"accountName": "YES",
"accountNumber": "NO",
"isBankCode": "YES",
"bvn": "NO",
"dateOfBirth": "NO",
"mobileNumber": "NO"
}
},
{
"bankName": "United Bank for Africa",
"bankCode": 33,
"url": null,
"logo": null,
"status": "ACTIVE",
"minimumAmount": 100,
"requiredFields": {
"accountName": "YES",
"accountNumber": "YES",
"isBankCode": "YES",
"bvn": "YES",
"dateOfBirth": "YES",
"mobileNumber": "NO"
}
},
{
"bankName": "First Bank of Nigeria",
"bankCode": 11,
"url": null,
"logo": null,
"status": "ACTIVE",
"minimumAmount": 100,
"requiredFields": {
"accountName": "NO",
"accountNumber": "NO",
"isBankCode": "YES",
"bvn": "NO",
"dateOfBirth": "NO",
"mobileNumber": "NO"
}
},
{
"bankName": "Sterling Bank",
"bankCode": 232,
"url": null,
"logo": null,
"status": "ACTIVE",
"minimumAmount": 100,
"requiredFields": {
"accountName": "YES",
"accountNumber": "YES",
"isBankCode": "YES",
"bvn": "NO",
"dateOfBirth": "NO",
"mobileNumber": "YES"
}
},
{
"bankName": "Wema Bank",
"bankCode": 35,
"url": null,
"logo": null,
"status": "ACTIVE",
"minimumAmount": 100,
"requiredFields": {
"accountName": "YES",
"accountNumber": "YES",
"isBankCode": "YES",
"bvn": "NO",
"dateOfBirth": "NO",
"mobileNumber": "YES"
}
},
{
"bankName": "Zenith Bank",
"bankCode": 57,
"url": null,
"logo": null,
"status": "ACTIVE",
"minimumAmount": 100,
"requiredFields": {
"accountName": "YES",
"accountNumber": "YES",
"isBankCode": "YES",
"bvn": "YES",
"dateOfBirth": "YES",
"mobileNumber": "NO"
}
}
],
"message": "Successful"
}
}
PAYMENT METHOD
Get Banks
Get list of banks
GET
/
banks
/
merchant
/
SBTESTPUBK_p8GqvFSFNCBahSJinczKd9aIPoRUZfda
Get Banks
curl --request GET \
--url https://seerbitapi.com/api/v2/banks/merchant/SBTESTPUBK_p8GqvFSFNCBahSJinczKd9aIPoRUZfdaimport requests
url = "https://seerbitapi.com/api/v2/banks/merchant/SBTESTPUBK_p8GqvFSFNCBahSJinczKd9aIPoRUZfda"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://seerbitapi.com/api/v2/banks/merchant/SBTESTPUBK_p8GqvFSFNCBahSJinczKd9aIPoRUZfda', 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://seerbitapi.com/api/v2/banks/merchant/SBTESTPUBK_p8GqvFSFNCBahSJinczKd9aIPoRUZfda",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://seerbitapi.com/api/v2/banks/merchant/SBTESTPUBK_p8GqvFSFNCBahSJinczKd9aIPoRUZfda"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://seerbitapi.com/api/v2/banks/merchant/SBTESTPUBK_p8GqvFSFNCBahSJinczKd9aIPoRUZfda")
.asString();require 'uri'
require 'net/http'
url = URI("https://seerbitapi.com/api/v2/banks/merchant/SBTESTPUBK_p8GqvFSFNCBahSJinczKd9aIPoRUZfda")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "SUCCESS",
"data": {
"code": "00",
"merchantBanks": [
{
"bankName": "Guarantee Trust Bank",
"bankCode": "058",
"url": null,
"logo": null,
"status": "ACTIVE",
"minimumAmount": 100,
"requiredFields": {
"accountName": "YES",
"accountNumber": "NO",
"isBankCode": "YES",
"bvn": "NO",
"dateOfBirth": "NO",
"mobileNumber": "NO"
}
},
{
"bankName": "United Bank for Africa",
"bankCode": 33,
"url": null,
"logo": null,
"status": "ACTIVE",
"minimumAmount": 100,
"requiredFields": {
"accountName": "YES",
"accountNumber": "YES",
"isBankCode": "YES",
"bvn": "YES",
"dateOfBirth": "YES",
"mobileNumber": "NO"
}
},
{
"bankName": "First Bank of Nigeria",
"bankCode": 11,
"url": null,
"logo": null,
"status": "ACTIVE",
"minimumAmount": 100,
"requiredFields": {
"accountName": "NO",
"accountNumber": "NO",
"isBankCode": "YES",
"bvn": "NO",
"dateOfBirth": "NO",
"mobileNumber": "NO"
}
},
{
"bankName": "Sterling Bank",
"bankCode": 232,
"url": null,
"logo": null,
"status": "ACTIVE",
"minimumAmount": 100,
"requiredFields": {
"accountName": "YES",
"accountNumber": "YES",
"isBankCode": "YES",
"bvn": "NO",
"dateOfBirth": "NO",
"mobileNumber": "YES"
}
},
{
"bankName": "Wema Bank",
"bankCode": 35,
"url": null,
"logo": null,
"status": "ACTIVE",
"minimumAmount": 100,
"requiredFields": {
"accountName": "YES",
"accountNumber": "YES",
"isBankCode": "YES",
"bvn": "NO",
"dateOfBirth": "NO",
"mobileNumber": "YES"
}
},
{
"bankName": "Zenith Bank",
"bankCode": 57,
"url": null,
"logo": null,
"status": "ACTIVE",
"minimumAmount": 100,
"requiredFields": {
"accountName": "YES",
"accountNumber": "YES",
"isBankCode": "YES",
"bvn": "YES",
"dateOfBirth": "YES",
"mobileNumber": "NO"
}
}
],
"message": "Successful"
}
}
Response
The response is of type object.