API Reference

Payment quote creation method

Quote method

This method allows to request a quote that locks in the exchange rate for a provided Fiat/Crypto pair. The resulting quote is valid for a specified period, enabling the transaction to be executed at the locked-in exchange rate.

Quote is calculated for each payment method supported for the given currency pair. Supported currency pairs can be retrieved using the GET Currency Pairs Buy Crypto or GET Currency Pairs Sell Crypto endpoint depending on the transaction flow.

🚧

Making Requests

This endpoint must be called from your application's backend. If you plan to make client-to-server requests, use the public endpoint.

Request examples

{
  // Specifies the fiat currency the user will be paying with.
  "currencyCodeFrom": "USD", 

  // Specifies the cryptocurrency the user wants to buy.
  "currencyCodeTo": "BTC-TESTNET", 

  // The amount the user wants to spend
  //(in USD, since directionChange is 'from').
  "amount": "10.00", 

  // Indicates that the 'amount' is in the 'currencyCodeFrom'.
  "directionChange": "from", 

  // Indicates the user wants to know the total cost including fees.
  "isReceivedAmount": false 
 
  // (Optional) ID of the specific payment method to be used for this purchase.
  "paymentMethod": "credit_card"
}
{
  // Specifies the cryptocurrency the user wants to sell.
  "currencyCodeFrom": "ETH-SEPOLIA", 

  // Specifies the fiat currency the user wants to receive.
  "currencyCodeTo": "EUR", 

  // The amount of cryptocurrency the user wants to sell.
  "amount": "0.005", 

  // Indicates that the 'amount' is in the 'currencyCodeFrom' (ETH-SEPOLIA).
  "directionChange": "from", 

  // Indicates the user wants to know the total amount of EUR 
  //they'll receive after fees.
  "isReceivedAmount": false 
  
  // (Optional) ID of the specific payout method the user wants to use to receive the fiat currency.
  "payoutMethod": "partnername_bridgerpay_sell_netellerr" //Please replace with your payout ID
}
{
  // Specifies the fiat currency the user will be paying with.
  "currencyCodeFrom": "USD", 

  // Specifies the cryptocurrency the user wants to buy.
  "currencyCodeTo": "LTC-TESTNET", 

  // The amount the user wants to spend 
  //(in USD, since directionChange is 'from').
  "amount": "10.00", 

  // Indicates that the 'amount' is in the 'currencyCodeFrom' (USD).
  "directionChange": "from", 

  // Indicates the user wants to know the total cost including fees.
  "isReceivedAmount": false,

  // The promo code the user wants to apply to their purchase.
  "promoCode": "SALE50" // Replace with the actual promo code
}
Language
Authorization
URL
Click Try It! to start a request and see the response here!