Get Quotes
GET/v1/quotes
The following section provides information on the parameters that you need to send to get quotes and provides examples of a request, successful responses as well as error responses.
Request
Query Parameters
The fiat currency in which the customer wants to make the payment for the crypto
The fiat amount the customer wants to spend to purchase crypto
The cryptocurrency the customers wants to purchase
Unique identifier of the crypto wallet partner
The country of the customer (ISO3166-1 alpha-3)
Possible values: [CARD
, BALANCE
]
The payment method the customer wants to use
Responses
- 200
- 400
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example - BaseQuoteResponse
Schema
Array [
- FX - Applies when user 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.
- SHARED - Charged on top of the Transaction and FX fee, shared with the Skrill Referral Partner
]
The fiat amount the customer wants to spend to purchase crypto
The fiat currency in which the customer wants to make the payment for the crypto
The crypto amount the customer will receive in his crypto wallet
The crypto currency the customers wants to purchase
Number of decimal points for fiat amount
Number of decimal points for quote amount
How much does one unit in base currency cost in quote currency
How much does one unit in quote currency cost in base currency
Price for converting from one fiat currency to another
fees
object[]
Contains fee types, amount and currencies for the payment
Possible values: [TRANSACTION
, SHARED
, FX
, NETWORK
]
Fee type:
Fee amount
Fee currency
Total amount spent without taxes
Final total spend currency
Possible values: [CARD
, BALANCE
]
Payment method of the customer/quote.
{
"baseAmount": 100,
"baseCurrency": "USD",
"quoteAmount": 0.00576545,
"quoteCurrency": "BTC",
"baseCurrencyPrecision": 2,
"quoteCurrencyPrecision": 8,
"baseToQuoteRate": 0.00006309,
"quoteToBaseRate": 15849.658299521701,
"currencyConversionRate": 0.91524803,
"fees": [
{
"feeType": "FX",
"amount": 4.13,
"currency": "USD"
},
{
"feeType": "TRANSACTION",
"amount": 1.9,
"currency": "USD"
},
{
"feeType": "SHARED",
"amount": 2.5,
"currency": "USD"
},
{
"feeType": "NETWORK",
"amount": 5.06,
"currency": "USD"
}
],
"totalSpend": 91.47,
"totalSpendCurrency": "USD",
"paymentMethod": "CARD"
}
{
"baseAmount": 100,
"baseCurrency": "USD",
"quoteAmount": 0.00576545,
"quoteCurrency": "BTC",
"baseCurrencyPrecision": 2,
"quoteCurrencyPrecision": 8,
"baseToQuoteRate": 0.00006309,
"quoteToBaseRate": 15849.658299521701,
"currencyConversionRate": 0.91524803,
"fees": [
{
"feeType": "FX",
"amount": 4.13,
"currency": "USD"
},
{
"feeType": "TRANSACTION",
"amount": 1.9,
"currency": "USD"
},
{
"feeType": "SHARED",
"amount": 2.5,
"currency": "USD"
},
{
"feeType": "NETWORK",
"amount": 5.06,
"currency": "USD"
}
],
"totalSpend": 91.47,
"totalSpendCurrency": "USD",
"paymentMethod": "CARD"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
General Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}