1. Rampay APIs
  2. Pricing
POST

/v1/partner/pricing

Bearer*

Auth Header

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

Header Key: Authorization

Header Value: Bearer YourApiSecret

Body

fiatAmountRequired
integer

Amount of fiat currency.

Example: 200

cryptoCurrencyCodeRequired
string

Crypto currency as part of List of crypto currencies response.

Example: USDT

cryptoCurrencyNetwork
string

(Optional) The abbreviated code of the blockchain network. This needs to be included in crypto currencies like USDT that support different networks like erc20, trx etc.

Example: erc20 (for ethereum)

direction
string

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

Example: BUY_CRYPTO

cfpmIdRequired
integer

The fiat currency and the payment method that user wishes to pay with.

Example: 1