Rest API Reference
All endpoints as subject to rate limiting
Get Price
Get asset price
GET
/price/{chain}/{asset}?to={fiat}&action={action}
Path Parameters
Name | Type | Description |
---|---|---|
chain* | String | |
asset | String |
Query Parameters
Name | Type | Description |
---|---|---|
to* | String | |
action* | String | |
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 |
Available fiats
Get supported fiat currency
GET
/fiat
Available assets
Get supported assets based on action and env
GET
/assets/{action}/{env}
Path Parameters
Name | Type | Description |
---|---|---|
action* | String | |
env | String |
Available Payment Methods
Get supported payment method based on fiat currency type
GET
/payment-method/{fiat}
Path Parameters
Name | Type | Description |
---|---|---|
fiat | String |
Last updated