This page describes a list of banks that can be charged on Xpresspay.
This endpoint provides a list of banks that payment can be made on xpresspay. It returns a key/value pair internetbanking in the response, if set to false it means the account can be charged using the direct account method, if set to true it means the account would be charged using the internet banking flow
Live https://api.xpresspayonline.com/v1/external/banks?publicKey=<YOUR PUBLIC KEY>
Sandbox https://xpresspayonlineapisandbox.xpresspayments.com/v1/external/banks?publicKey=<YOUR PUBLIC KEY>
curl --request GET \
--url 'https://api.xpresspayonline.com/v1/external/banks?publicKey=XPPUBK-c88905fb813c3cc374aeaafffaa785a3-X' \
--header 'content-type: application/json'
var request = require("request");
var options = { method: 'GET',
url: 'https://api.xpresspayonline.com/v1/external/banks?publicKey=XPPUBK-c88905fb813c3cc374aeaafffaa785a3-X',
qs: { json: '1' },
headers: { 'content-type': 'application/json' } };
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
require 'uri'
require 'net/http'
url = URI("https://api.xpresspayonline.com/v1/external/banks?publicKey=XPPUBK-c88905fb813c3cc374aeaafffaa785a3-X")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["content-type"] = 'application/json'
response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://api.xpresspayonline.com/v1/external/banks?publicKey=XPPUBK-c88905fb813c3cc374aeaafffaa785a3-X");
xhr.setRequestHeader("content-type", "application/json");
xhr.send(data);
import requests
url = "https://api.xpresspayonline.com/v1/external/banks?publicKey=XPPUBK-c88905fb813c3cc374aeaafffaa785a3-X"
headers = {'content-type': 'application/json'}
response = requests.request("GET", url, headers=headers)
print(response.text)
Response
{
"status": "SUCCESS",
"data": {
"banks": [
{
"bankName": "ACCESS BANK NIGERIA",
"bankCode": "044",
"internetBanking": "false",
"logoUrl": "https://api.elasticemail.com/userfile/5d028e25-bd86-4559-b7c2-31e5870bbbf9/providus.png",
"isDateOfBirthRequired": "1",
"isBvnRequired": "0",
"isEmailRequired": "1",
"status": "INACTIVE"
},
{
"bankName": "ECOBANK NIGERIA LIMITED",
"bankCode": "050",
"internetBanking": "false",
"logoUrl": "https://api.elasticemail.com/userfile/5d028e25-bd86-4559-b7c2-31e5870bbbf9/providus.png",
"isDateOfBirthRequired": "1",
"isBvnRequired": "0",
"isEmailRequired": "1",
"status": "ACTIVE"
},
{
"bankName": "UNITED BANK FOR AFRICA PLC",
"bankCode": "033",
"internetBanking": "false",
"logoUrl": "https://api.elasticemail.com/userfile/5d028e25-bd86-4559-b7c2-31e5870bbbf9/uba.png",
"isDateOfBirthRequired": "1",
"isBvnRequired": "0",
"isEmailRequired": "1",
"status": "INACTIVE"
},
{
"bankName": "FIRST BANK PLC",
"bankCode": "011",
"internetBanking": "false",
"logoUrl": "https://api.elasticemail.com/userfile/5d028e25-bd86-4559-b7c2-31e5870bbbf9/firstbank.png",
"isDateOfBirthRequired": "YES",
"isBvnRequired": "YES",
"isEmailRequired": "YES",
"status": "ACTIVE"
},
{
"bankName": "GTBANK PLC",
"bankCode": "058",
"internetBanking": "false",
"logoUrl": "https://api.elasticemail.com/userfile/5d028e25-bd86-4559-b7c2-31e5870bbbf9/gtb.png",
"isDateOfBirthRequired": "YES",
"isBvnRequired": "YES",
"isEmailRequired": "YES",
"status": "ACTIVE"
},
{
"bankName": "STERLING BANK PLC",
"bankCode": "232",
"internetBanking": "false",
"logoUrl": "https://api.elasticemail.com/userfile/5d028e25-bd86-4559-b7c2-31e5870bbbf9/providus.png",
"isDateOfBirthRequired": "1",
"isBvnRequired": "0",
"isEmailRequired": "1",
"status": "INACTIVE"
},
{
"bankName": "ZENITH BANK PLC",
"bankCode": "057",
"internetBanking": "false",
"logoUrl": "https://api.elasticemail.com/userfile/5d028e25-bd86-4559-b7c2-31e5870bbbf9/bank_zen.png",
"isDateOfBirthRequired": "YES",
"isBvnRequired": "YES",
"isEmailRequired": "YES",
"status": "ACTIVE"
},
{
"bankName": "FIRST CITY MONUMENT BANK PLC",
"bankCode": "214",
"internetBanking": "false",
"logoUrl": "https://api.elasticemail.com/userfile/5d028e25-bd86-4559-b7c2-31e5870bbbf9/fcmb-logo.png",
"isDateOfBirthRequired": "NO",
"isBvnRequired": "YES",
"isEmailRequired": "YES",
"status": "ACTIVE"
},
{
"bankName": "SKYE BANK PLC",
"bankCode": "076",
"internetBanking": "false",
"logoUrl": "https://api.elasticemail.com/userfile/5d028e25-bd86-4559-b7c2-31e5870bbbf9/skyebank.png",
"isDateOfBirthRequired": "NO",
"isBvnRequired": "YES",
"isEmailRequired": "YES",
"status": "ACTIVE"
},
{
"bankName": "FSDH Merchant Bank Limited",
"bankCode": "601",
"internetBanking": "false",
"logoUrl": "https://api.elasticemail.com/userfile/5d028e25-bd86-4559-b7c2-31e5870bbbf9/fsdh.png",
"isDateOfBirthRequired": "NO",
"isBvnRequired": "YES",
"isEmailRequired": "YES",
"status": "ACTIVE"
},
{
"bankName": "UNITY BANK PLC",
"bankCode": "215",
"internetBanking": "false",
"logoUrl": "https://api.elasticemail.com/userfile/5d028e25-bd86-4559-b7c2-31e5870bbbf9/unitybank.png",
"isDateOfBirthRequired": "NO",
"isBvnRequired": "",
"isEmailRequired": "",
"status": "ACTIVE"
},
{
"bankName": "Providus Bank",
"bankCode": "101",
"internetBanking": "false",
"logoUrl": "https://api.elasticemail.com/userfile/5d028e25-bd86-4559-b7c2-31e5870bbbf9/providus.png",
"isDateOfBirthRequired": "1",
"isBvnRequired": "0",
"isEmailRequired": "1",
"status": "INACTIVE"
}
]
}
}