Pricing V2
Fetch price for a payment method, cryptocurrency and fiat amount
Auth Header
Please send you API Secret as Bearer token in Authorization header.
Header Key: Authorization
Header Value: Bearer YourApiSecret
Body
Amount of fiat currency.
Example: 200
Crypto currency id as part of list of crypto currencies response.
Example: 1
Fiat currency code as part of list of fiat currencies response.
Example: EUR
Whether to buy or sell. Currently only BUY_CRYPTO is supported.
Example: BUY_CRYPTO
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.
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
(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