API Reference

Payment quote creation method

This is the analog of the V2 Quote endpoint for client-to-server calls.

❗️

To ensure the security of your integration, signature verification is required for all Public and Private API requests.

More details on how to generate the signature.

Authentication

To authenticate, pass the public API key as a query parameter in the endpoint URL. This key is your Partner UUID. Please note that this public API key differs from the one used for server-to-server APIs.

Important

  • The public API key (Partner UUID) needs to be authorized separately.
  • Please get in touch with your Account Manager to enable and obtain your public API key.

{
  // 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
Query
URL
Click Try It! to start a request and see the response here!