Skip to main content

BaseQuoteV2

Quote object containing all information needed for on-ramp partner to display our quotes to the client

sourceDetails object

Source details - amount, currency and payment method

amountnumber

Source amount used for buying crypto

Example: 100
currencystring

Source currency used for buying crypto

Example: USD
paymentMethodPaymentMethod (string)

The payment method used by the customer

Possible values: [CARD, BALANCE]

Example: CARD
destinationDetails object

Destination asset details - amount, cryptocurrency, network processing the transaction

amountnumberrequired

The amount of the purchased cryptocurrency

Example: 0.00576545
currencystringrequired

The cryptocurrency the customers wants to purchase

Example: BTC
networkstringrequired

The network of the cryptocurrency

Example: Mainnet
sourceToDestinationRatenumber

How much does one unit in source currency cost in destination currency

Example: 0.0000612
destinationToSourceRatenumber

How much does one unit in destination currency cost in source currency

Example: 15849.658299521701
fees object[]

Contains details on the fees for the payment - type, amount and currency of the fee

  • Array [
  • typestring

    Fee type:

    • FX - Applies when customer's fiat currency is not EUR
    • NETWORK - Goes to a blockchain network for transferring a digital asset on that network
    • TRANSACTION - Fee charged by Paysafe for the Transaction
    • PARTNER - Fee charged on top of the Transaction and FX fee, shared with the Skrill Referral Partner

    Possible values: [TRANSACTION, PARTNER, FX, NETWORK]

    Example: PARTNER
    amountnumber

    Fee amount

    Example: 9.89
    currencystring

    Fee currency

    Example: USD
  • ]
  • totalSpendnumber

    Total amount spent without taxes

    Example: 91.47
    totalSpendCurrencystring

    Final total spend currency

    Example: USD
    BaseQuoteV2
    {
    "sourceDetails": {
    "amount": 100,
    "currency": "USD",
    "paymentMethod": "CARD"
    },
    "destinationDetails": {
    "amount": 0.00576545,
    "currency": "BTC",
    "network": "Mainnet"
    },
    "sourceToDestinationRate": 0.0000612,
    "destinationToSourceRate": 15849.658299521701,
    "fees": [
    {
    "value": [
    {
    "type": "FX",
    "amount": 4.13,
    "currency": "USD"
    },
    {
    "type": "TRANSACTION",
    "amount": 1.9,
    "currency": "USD"
    },
    {
    "type": "PARTNER",
    "amount": 2.5,
    "currency": "USD"
    },
    {
    "type": "NETWORK",
    "amount": 5.06,
    "currency": "USD"
    }
    ]
    }
    ],
    "totalSpend": 91.47,
    "totalSpendCurrency": "USD"
    }