List rates
curl --request GET \
--url https://api-prod.blaaiz.com/api/external/rate \
--header 'x-blaaiz-api-key: <api-key>'import requests
url = "https://api-prod.blaaiz.com/api/external/rate"
headers = {"x-blaaiz-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-blaaiz-api-key': '<api-key>'}};
fetch('https://api-prod.blaaiz.com/api/external/rate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://api-prod.blaaiz.com/api/external/rate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-blaaiz-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-prod.blaaiz.com/api/external/rate",
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-blaaiz-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"message": "Rates fetched successfully.",
"data": [
{
"id": 1,
"pair": "USD/NGN",
"value": "1550.00",
"category": "SINGLE_BUSINESS",
"feesInPercents": "0.50",
"feesInAmount": "0.00",
"type": "FLAT",
"swap_enabled": true,
"send_enabled": true,
"is_active": true,
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
},
{
"id": 2,
"pair": "GBP/NGN",
"value": "1950.00",
"category": "GENERAL",
"feesInPercents": "1.00",
"feesInAmount": "0.00",
"type": "FLAT",
"swap_enabled": true,
"send_enabled": true,
"is_active": true,
"created_at": "2025-01-10T08:00:00.000000Z",
"updated_at": "2025-01-12T14:20:00.000000Z"
},
{
"id": 3,
"pair": "CAD/NGN",
"value": "1100.00",
"category": "ALL_BUSINESSES",
"feesInPercents": "0.75",
"feesInAmount": "0.00",
"type": "FLAT",
"swap_enabled": true,
"send_enabled": false,
"is_active": true,
"created_at": "2025-01-08T12:00:00.000000Z",
"updated_at": "2025-01-08T12:00:00.000000Z"
}
]
}{
"message": "Invalid or missing API key"
}Rate
List rates
Retrieve exchange rates applicable to the authenticated business.
Use the optional search_term query parameter to filter rates by currency pair (e.g., USD, USD/NGN).
GET
/
api
/
external
/
rate
List rates
curl --request GET \
--url https://api-prod.blaaiz.com/api/external/rate \
--header 'x-blaaiz-api-key: <api-key>'import requests
url = "https://api-prod.blaaiz.com/api/external/rate"
headers = {"x-blaaiz-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-blaaiz-api-key': '<api-key>'}};
fetch('https://api-prod.blaaiz.com/api/external/rate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://api-prod.blaaiz.com/api/external/rate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-blaaiz-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-prod.blaaiz.com/api/external/rate",
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-blaaiz-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"message": "Rates fetched successfully.",
"data": [
{
"id": 1,
"pair": "USD/NGN",
"value": "1550.00",
"category": "SINGLE_BUSINESS",
"feesInPercents": "0.50",
"feesInAmount": "0.00",
"type": "FLAT",
"swap_enabled": true,
"send_enabled": true,
"is_active": true,
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
},
{
"id": 2,
"pair": "GBP/NGN",
"value": "1950.00",
"category": "GENERAL",
"feesInPercents": "1.00",
"feesInAmount": "0.00",
"type": "FLAT",
"swap_enabled": true,
"send_enabled": true,
"is_active": true,
"created_at": "2025-01-10T08:00:00.000000Z",
"updated_at": "2025-01-12T14:20:00.000000Z"
},
{
"id": 3,
"pair": "CAD/NGN",
"value": "1100.00",
"category": "ALL_BUSINESSES",
"feesInPercents": "0.75",
"feesInAmount": "0.00",
"type": "FLAT",
"swap_enabled": true,
"send_enabled": false,
"is_active": true,
"created_at": "2025-01-08T12:00:00.000000Z",
"updated_at": "2025-01-08T12:00:00.000000Z"
}
]
}{
"message": "Invalid or missing API key"
}Was this page helpful?
⌘I

