List collection currencies
curl --request GET \
--url https://api.xentfi.com/v1/onramp/currencies \
--header 'apiKey: <api-key>' \
--header 'orgId: <api-key>'const options = {method: 'GET', headers: {apiKey: '<api-key>', orgId: '<api-key>'}};
fetch('https://api.xentfi.com/v1/onramp/currencies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.xentfi.com/v1/onramp/currencies"
headers = {
"apiKey": "<api-key>",
"orgId": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.xentfi.com/v1/onramp/currencies"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("apiKey", "<api-key>")
req.Header.Add("orgId", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {apiKey: '<api-key>', orgId: '<api-key>'}};
fetch('https://api.xentfi.com/v1/onramp/currencies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"code": "NGN",
"name": "<string>",
"shortName": "<string>",
"symbol": "<string>",
"decimals": 123
}
]
}On-ramp
List collection currencies
Flow: GET /currencies → GET /assets?walletId¤cy → GET /rails?currency → POST /quotes (rate session) → POST /orders → show paymentInstructions to your payer → track via onramp.* webhooks or GET /orders/{id} → stablecoin is credited to your wallet.
Rails: bank_transfer — a one-time bank account is generated per order (NGN; GHS bank unverified). mobile_money — GHS; the payer approves a prompt on their phone (nextStep: PIN) or, when the provider asks, you submit an OTP via POST /orders/{id}/verify-otp (status: awaiting_otp). USD/EUR are collected through customer virtual accounts, not this API.
GET
/
v1
/
onramp
/
currencies
List collection currencies
curl --request GET \
--url https://api.xentfi.com/v1/onramp/currencies \
--header 'apiKey: <api-key>' \
--header 'orgId: <api-key>'const options = {method: 'GET', headers: {apiKey: '<api-key>', orgId: '<api-key>'}};
fetch('https://api.xentfi.com/v1/onramp/currencies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.xentfi.com/v1/onramp/currencies"
headers = {
"apiKey": "<api-key>",
"orgId": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.xentfi.com/v1/onramp/currencies"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("apiKey", "<api-key>")
req.Header.Add("orgId", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {apiKey: '<api-key>', orgId: '<api-key>'}};
fetch('https://api.xentfi.com/v1/onramp/currencies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"code": "NGN",
"name": "<string>",
"shortName": "<string>",
"symbol": "<string>",
"decimals": 123
}
]
}
