List partner banks
curl --request GET \
--url https://sandbox-api.bullring.finance/v2/ramp/banking/banks/{currency} \
--header 'X-Key-Id: <api-key>'import requests
url = "https://sandbox-api.bullring.finance/v2/ramp/banking/banks/{currency}"
headers = {"X-Key-Id": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Key-Id': '<api-key>'}};
fetch('https://sandbox-api.bullring.finance/v2/ramp/banking/banks/{currency}', 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://sandbox-api.bullring.finance/v2/ramp/banking/banks/{currency}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Key-Id: <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://sandbox-api.bullring.finance/v2/ramp/banking/banks/{currency}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Key-Id", "<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://sandbox-api.bullring.finance/v2/ramp/banking/banks/{currency}")
.header("X-Key-Id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.bullring.finance/v2/ramp/banking/banks/{currency}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Key-Id"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"code": "ICBC",
"name": "中国工商银行"
}
]{
"statusCode": 123,
"code": "<string>",
"message": "<unknown>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}CNY & KES
List partner banks
List the bank codes partners can use for CNY and KES recipients.
GET
/
v2
/
ramp
/
banking
/
banks
/
{currency}
List partner banks
curl --request GET \
--url https://sandbox-api.bullring.finance/v2/ramp/banking/banks/{currency} \
--header 'X-Key-Id: <api-key>'import requests
url = "https://sandbox-api.bullring.finance/v2/ramp/banking/banks/{currency}"
headers = {"X-Key-Id": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Key-Id': '<api-key>'}};
fetch('https://sandbox-api.bullring.finance/v2/ramp/banking/banks/{currency}', 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://sandbox-api.bullring.finance/v2/ramp/banking/banks/{currency}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Key-Id: <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://sandbox-api.bullring.finance/v2/ramp/banking/banks/{currency}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Key-Id", "<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://sandbox-api.bullring.finance/v2/ramp/banking/banks/{currency}")
.header("X-Key-Id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.bullring.finance/v2/ramp/banking/banks/{currency}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Key-Id"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"code": "ICBC",
"name": "中国工商银行"
}
]{
"statusCode": 123,
"code": "<string>",
"message": "<unknown>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}{
"statusCode": 123,
"message": "<unknown>",
"code": "<string>"
}Call this endpoint before creating a CNY recipient, then send the chosen
This is the only partner path without a
Codes keep the source casing, including the two lowercase CNY codes, and are
matched case-insensitively when creating a recipient. Do not rewrite a code before
sending it back.
code as
bank_code in the recipient request.
GET /v2/ramp/banking/banks/CNY
{storeId} segment. It is not store-scoped
and needs the normal partner signature headers.
Supported currencies
Partner access is limited toCNY and KES:
CNYreturns 3,295 banks (about 273 KB) from the Choice CNY Express list.KESreturns the Choice PesaLink list.
403. An
unknown currency code returns 400.
Response
The response is an array of{ code, name } objects with no pagination.
[
{
"code": "ICBC",
"name": "中国工商银行"
}
]
Caching
The response includesCache-Control: private, max-age=3600. Cache the full list
client-side for up to one hour instead of requesting it for every recipient.