Endpoint
Query Parameters
Code Examples
Response
Retail Off-Ramp B2B Coverage
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Fetch the current exchange rate for any supported retail currency pair before initiating a transaction.
GET /transactions/v2/rate_quote
| Parameter | Type | Required | Description |
|---|---|---|---|
currency | string | ✓ | Fiat currency (e.g. NGN, USD) |
amount | string | ✓ | Amount in the fiat currency |
trx_type | string | ✓ | Direction: onramp or offramp |
const options = {
method: 'GET',
headers: {
accept: 'application/json',
'ngnc-sec-key': 'YOUR_SECRET_KEY',
'content-type': 'application/json'
}
};
fetch('https://api.linkio.world/transactions/v2/rate_quote?currency=NGN&amount=500000&trx_type=onramp', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
import requests
url = "https://api.linkio.world/transactions/v2/rate_quote"
params = {
"currency": "NGN",
"amount": "500000",
"trx_type": "onramp"
}
headers = {
"accept": "application/json",
"ngnc-sec-key": "YOUR_SECRET_KEY",
"content-type": "application/json"
}
response = requests.get(url, params=params, headers=headers)
print(response.text)
{
"message": "Rate retrieved",
"data": {
"rate": 1580,
"payout_amount": 316.46,
"paymentMethod": "LOCAL_BANK_TRANSFER"
}
}
