Rest API Reference
All endpoints as subject to rate limiting
Get Price
Get asset price
GET
/price/{chain}/{asset}?iso={iso_alpha_3}&action={action}
Path Parameters
Query Parameters
fiatValue
Integer
This is an optional integer parameter. If this is selected, the value is used to calculate the returned asset price.
assetValue
Integer
This is an optional integer parameter. If this is selected, the value is used to calculate the returned fiat price.
networkFee
String
This is an optional string parameter of either [ON - OFF]. If ON is selected, paychant network fee will be calculated along side to get the fiat/asset price.
paymentMethod
String
This is an optional string parameter. If this is selected, the transaction fee for the payment method will be calculated along side to get the fiat/asset price. List of supported payment methods id
can be found here
{
"usd": 1,
"nga": 1186.04,
"price": 1216.45,
"minimum": 1000,
"maximum": 5000
}
Available fiats
Get supported fiat currency
GET
/fiat
[
{
"fiat": "NGN",
"iso_alpha_3": "NGA"
},
{
"fiat": "GHS",
"iso_alpha_3": "GHA"
},
...
]
Available assets
Get supported assets based on action and env
GET
/assets/{action}/{env}
Path Parameters
[
{
"chain": "CELO",
"asset": "CELO"
},
{
"chain": "STELLAR",
"asset": "USDC"
},
{
"chain": "BSC",
"asset": "USDT"
},
{
"chain": "POLYGON",
"asset": "USDC"
},
...
]
Available Payment Methods
Get supported payment method based on fiat currency type
GET
/payment-method/{iso_alpha_3}
Path Parameters
[
{
"name": "M-Pesa",
"nameId": "m_pesa"
},
{
"name": "Bank Transfer",
"nameId": "bank_transfer"
},
...
]
Last updated
Was this helpful?