Get Fees
curl --request GET \
--url https://api.daya.co/v1/fees \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://api.daya.co/v1/fees"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://api.daya.co/v1/fees', 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.daya.co/v1/fees",
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-API-Key: <x-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://api.daya.co/v1/fees"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-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://api.daya.co/v1/fees")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.daya.co/v1/fees")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_bodyRates & Chains
Get Fees
Get the current Business API fee schedule
GET
/
v1
/
fees
Get Fees
curl --request GET \
--url https://api.daya.co/v1/fees \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://api.daya.co/v1/fees"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://api.daya.co/v1/fees', 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.daya.co/v1/fees",
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-API-Key: <x-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://api.daya.co/v1/fees"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-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://api.daya.co/v1/fees")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.daya.co/v1/fees")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_bodyOverview
Returns the fee schedule that the Business API currently applies to NGN deposits, NGN bank transfers, USD virtual-account deposits, USD transfers, and crypto withdrawals. Call this endpoint before you display a fee estimate. The current NGN deposit fee is 1%, capped at NGN 100. For NGN bank transfers, the fee is NGN 20 when the recipient amount is below NGN 1,000. From NGN 1,000 upward, the transfer fee is 1%, capped at NGN 100. Percentage fields contain percentage values, not basis points. For example,"1.0000" means 1%.
Authentication
string
required
Your Business API key.
X-API-Key: sk_live_YOUR_API_KEY
Request example
curl --request GET \
--url https://api.daya.co/v1/fees \
--header 'X-API-Key: sk_live_YOUR_API_KEY'
Response
{
"ngn": {
"deposit_fee_percent": "1.0000",
"deposit_fee_cap": {
"amount": "100.00",
"currency": "NGN"
},
"transfer_fee_percent": "1.0000",
"transfer_fee_cap": {
"amount": "100.00",
"currency": "NGN"
},
"low_value_transfer_fee": {
"amount": "20.00",
"currency": "NGN"
},
"low_value_transfer_threshold": {
"amount": "1000.00",
"currency": "NGN"
},
"minimum_transfer_amount": {
"amount": "100.00",
"currency": "NGN"
}
},
"usd_virtual_account": {
"deposit_fee_percent": "0.2000"
},
"usd_transfers": {
"fee_percent": "0.2000"
},
"crypto_withdrawals": {
"default_fee": {
"amount": "0.1000",
"currency": "USD"
},
"ethereum_fee": {
"amount": "0.2000",
"currency": "USD"
},
"tron_fee": {
"amount": "1.0000",
"currency": "USD"
}
}
}
How to apply the NGN transfer fee
Use the amount the bank recipient will receive:- Reject an amount below
minimum_transfer_amount. - If the amount is less than
low_value_transfer_threshold, chargelow_value_transfer_fee. - Otherwise, calculate
transfer_fee_percentand limit the result totransfer_fee_cap. - Charge the fee separately. Do not subtract it from the recipient amount.
Use the response from this endpoint as the current schedule. Do not keep a fee value indefinitely in application code.
Errors
| Status | Meaning |
|---|---|
401 | The API key is missing or invalid. |
500 | The service could not load the current fee schedule. |