Get Prices

Get prices for all available payment methods or for a single payment method. Note that this endpoint should only be called when a user requests prices by providing the cryptocurrency, fiat and ideally amounts and payment method. This endpoint is for dynamic quotations and not to retrieve a list of static prices that can be cached. As a result, the endpoint is rate limited.

Query Params
string
required

Source fiat or cryptocurrency code e.g. 'USD' for buy and 'BTC' for sell

string
required

Target fiat or cryptocurrency code e.g. 'BTC' for buy and 'USD' for sell

float

Amount of the source fiat or cryptocurrency that will be used to calculate the target amount. Both source_amount and target_amount should not be sent.

float

Amount of the target fiat or cryptocurrency that will be used to calculate the source_amount. Both source_amount and target_amount should not be sent.

int32

Unique ID for the payment method that you want to get prices for.

string

Unique customer reference provided by you.

string
Defaults to TRON

The blockchain that prices will be retrieved for. If this is not passed, then the default blockchain that has been configured for you will be used.

string
Defaults to VIP

(Beta) A code that can be passed to change your commission rate on this order. Please contact your account manager for code setup.

Headers
string
Defaults to application/json
string

This is the correlation ID related to the request.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json