POST
/
v2
/
partner
/
pricing

Auth Header

Please send you API Secret as Bearer token in Authorization header.

Header Key: Authorization

Header Value: Bearer YourApiSecret

Body

fiatAmount
integer
required

Amount of fiat currency.

Example: 200

cryptoCurrencyId
number
required

Crypto currency id as part of list of crypto currencies response.

Example: 1

fiatCurrencyCode
string

Fiat currency code as part of list of fiat currencies response.

Example: EUR

direction
string

Whether to buy or sell. Currently only BUY_CRYPTO is supported.

Example: BUY_CRYPTO

paymentMethodKey
string
required

Short code mentioned in list of fiat currencies response inside payment method object. All values in the short_codes array value of fiat currency will map to the same payment method. You can choose to send anyone.

Example: In case of card payments, all 3 values creditcard, visa, mastercard will map to the same payment method.

countryCode
string
required

Country of the end user. In case you don’t have this value, you can send the country_code from fiat currency list response.

Example: US

endUserIpAddress
string

(Optional) IP address of the end user. Although it is optional, but it is highly recommeded you send this. This significantly helps in reducing fraud.

Example: 49.34.23.66