Indicative fiat vs USD rates
curl --request GET \
--url https://sandbox.elementpay.net/api/v1/partner/rates/indicative \
--header 'X-API-Key: <api-key>'import requests
url = "https://sandbox.elementpay.net/api/v1/partner/rates/indicative"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://sandbox.elementpay.net/api/v1/partner/rates/indicative', 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.elementpay.net/api/v1/partner/rates/indicative",
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: <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.elementpay.net/api/v1/partner/rates/indicative"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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.elementpay.net/api/v1/partner/rates/indicative")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.elementpay.net/api/v1/partner/rates/indicative")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Indicative rates (non-binding)",
"data": {
"requested": [
"KES",
"NGN",
"UGX"
],
"fetched_at": "2026-07-07T10:00:00Z",
"rates": [
{
"currency": "KES",
"buy": 131.5,
"sell": 128
},
{
"currency": "NGN",
"buy": 1580,
"sell": 1550
}
]
}
}{
"status": "error",
"message": "Invalid fiat code 'XX'; use three-letter ISO 4217 codes (e.g. NGN,KES).",
"data": {
"field": "fiat"
}
}{
"status": "error",
"message": "Query parameter `fiat` is required (e.g. fiat=NGN,KES,GHS).",
"data": {
"field": "fiat"
}
}{
"status": "error",
"message": "Quote request failed",
"data": {
"upstream_http_status": 502
}
}Partner
Indicative fiat vs USD rates
Returns indicative buy / sell rates for the requested ISO fiat codes — not a binding quote (use POST /partner/orders/quote for checkout pricing). Response body: requested, rates, fetched_at. Auth: X-API-Key.
GET
/
partner
/
rates
/
indicative
Indicative fiat vs USD rates
curl --request GET \
--url https://sandbox.elementpay.net/api/v1/partner/rates/indicative \
--header 'X-API-Key: <api-key>'import requests
url = "https://sandbox.elementpay.net/api/v1/partner/rates/indicative"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://sandbox.elementpay.net/api/v1/partner/rates/indicative', 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.elementpay.net/api/v1/partner/rates/indicative",
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: <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.elementpay.net/api/v1/partner/rates/indicative"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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.elementpay.net/api/v1/partner/rates/indicative")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.elementpay.net/api/v1/partner/rates/indicative")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Indicative rates (non-binding)",
"data": {
"requested": [
"KES",
"NGN",
"UGX"
],
"fetched_at": "2026-07-07T10:00:00Z",
"rates": [
{
"currency": "KES",
"buy": 131.5,
"sell": 128
},
{
"currency": "NGN",
"buy": 1580,
"sell": 1550
}
]
}
}{
"status": "error",
"message": "Invalid fiat code 'XX'; use three-letter ISO 4217 codes (e.g. NGN,KES).",
"data": {
"field": "fiat"
}
}{
"status": "error",
"message": "Query parameter `fiat` is required (e.g. fiat=NGN,KES,GHS).",
"data": {
"field": "fiat"
}
}{
"status": "error",
"message": "Quote request failed",
"data": {
"upstream_http_status": 502
}
}Returns indicative
Response
buy / sell rates for comma-separated ISO fiat codes.
These rates are not binding. Use
POST /partner/orders/quote for checkout pricing.data includes requested, rates, and fetched_at.
Auth: X-API-Key header.⌘I