Rate Bounds
Get the best and worst rates
Unlike the Rate endpoint, this GET
endpoint is responsible for getting the best and worst rates for a supplied currency pair. This requires your app's publickey
in the header while the query params passed will be the payInCurrencyCode
, recieveInCurrencyCode
& orderAmount
.
The returned result will have bestRate
and worstRate
objects containing different rates. To get a response for a sell or swap order, switch to desired networks and currency inputs on request and make the call. See the example below;
Get the best and worst rates
GET
https://checkout-api-sandbox.xendbridge.com/api/ThirdPartyUI/RateBounds
Query Parameters
Name | Type | Description |
---|---|---|
payInCurrencyCode* | string | NGN |
payInCurrencyNetwork* | string | LOCAL |
receiveInCurrencyCode* | string | BUSD |
receiveInCurrencyNetwork* | string | BEP20 |
orderAmount* | double | 500 |
Headers
Name | Type | Description |
---|---|---|
publicKey* | string | {publicKey} |
Parameters | Type | Definitions |
---|---|---|
payInCurrencyCode | string |
|
payInCurrencyNetwork | string |
|
receiveInCurrencyCode | string |
|
receiveInCurrencyNetwork | string |
|
orderAmount | double |
|
Last updated