Resolve bank account by country
curl --request POST \
--url https://api.puplar.com/misc/banks/{country}/resolve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_number": "0123456789",
"bank_code": "058"
}
'import requests
url = "https://api.puplar.com/misc/banks/{country}/resolve"
payload = {
"account_number": "0123456789",
"bank_code": "058"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({account_number: '0123456789', bank_code: '058'})
};
fetch('https://api.puplar.com/misc/banks/{country}/resolve', 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.puplar.com/misc/banks/{country}/resolve",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'account_number' => '0123456789',
'bank_code' => '058'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.puplar.com/misc/banks/{country}/resolve"
payload := strings.NewReader("{\n \"account_number\": \"0123456789\",\n \"bank_code\": \"058\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.puplar.com/misc/banks/{country}/resolve")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"account_number\": \"0123456789\",\n \"bank_code\": \"058\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.puplar.com/misc/banks/{country}/resolve")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"account_number\": \"0123456789\",\n \"bank_code\": \"058\"\n}"
response = http.request(request)
puts response.read_body{
"message": "Account resolved successfully",
"data": {
"account_name": "ADA OBI",
"account_number": "0123456789",
"bank_code": "058"
}
}{
"message": "Error message",
"data": {},
"errors": {}
}{
"message": "Error message",
"data": {},
"errors": {}
}{
"message": "Error message",
"data": {},
"errors": {}
}{
"message": "Error message",
"data": {},
"errors": {}
}Misc
Resolve bank account by country
Look up the account holder name for a bank account before creating a bank-transfer payout. Currently only ng is supported. Both body fields are required.
Test mode (sk_test_*): Simulated name enquiry only. Use 0123456789 + bank 058 → Test NGN Account 1; any 10-digit account starting with 000 → Test Account Holder; 9999999999 → not found. See guides/test-vs-live for the full fixture table.
POST
/
misc
/
banks
/
{country}
/
resolve
Resolve bank account by country
curl --request POST \
--url https://api.puplar.com/misc/banks/{country}/resolve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_number": "0123456789",
"bank_code": "058"
}
'import requests
url = "https://api.puplar.com/misc/banks/{country}/resolve"
payload = {
"account_number": "0123456789",
"bank_code": "058"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({account_number: '0123456789', bank_code: '058'})
};
fetch('https://api.puplar.com/misc/banks/{country}/resolve', 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.puplar.com/misc/banks/{country}/resolve",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'account_number' => '0123456789',
'bank_code' => '058'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.puplar.com/misc/banks/{country}/resolve"
payload := strings.NewReader("{\n \"account_number\": \"0123456789\",\n \"bank_code\": \"058\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.puplar.com/misc/banks/{country}/resolve")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"account_number\": \"0123456789\",\n \"bank_code\": \"058\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.puplar.com/misc/banks/{country}/resolve")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"account_number\": \"0123456789\",\n \"bank_code\": \"058\"\n}"
response = http.request(request)
puts response.read_body{
"message": "Account resolved successfully",
"data": {
"account_name": "ADA OBI",
"account_number": "0123456789",
"bank_code": "058"
}
}{
"message": "Error message",
"data": {},
"errors": {}
}{
"message": "Error message",
"data": {},
"errors": {}
}{
"message": "Error message",
"data": {},
"errors": {}
}{
"message": "Error message",
"data": {},
"errors": {}
}Look up the account holder name for a bank account before creating a bank-transfer payout. Currently only Test mode (
Name enquiry is simulated — no real NIP lookup.
ng is supported.
Both account_number and bank_code are required in the request body.
Test mode (sk_test_*)
Name enquiry is simulated — no real NIP lookup.
| Account number | Bank code | account_name |
|---|---|---|
0123456789 | 058 | Test NGN Account 1 |
0987654321 | 011 | Test NGN Account 2 |
0555666777 | 033 | Test NGN Account 3 |
0123456780 | 044 | Test NGN Account 4 |
2081234567 | 057 | Test NGN Account 5 |
6012345678 | 070 | Test NGN Account 6 |
0012345678 | 221 | Test NGN Account 7 |
1234567890 | 214 | Test NGN Account 8 |
0023456789 | 032 | Test NGN Account 9 |
0061234567 | 232 | Test NGN Account 10 |
0001234567 | 058 | Test Account Holder |
Any 10-digit number starting with 000 | any | Test Account Holder |
9999999999 | any | Not found (404) |
Authorizations
Secret key: Authorization: Bearer sk_test_... or sk_live_.... Business and live/test mode are inferred from the key.
Path Parameters
ISO 3166-1 alpha-2 country code. Bank list is currently supported for ng (Nigeria) only.
Example:
"ng"
Body
application/json

