Getting an Estimate of Your Order Price
When you place an order, the total price depends on the value of the items you're purchasing. Card Payments are no longer accepted as a valid payment method.
To provide you with a clear breakdown of the order price before you confirm your purchase, our platform offers an Estimate order endpoint that you can optionally use to get your estimated order price including fees. It accepts a request similar to the one used for creating an order and responds with a detailed breakdown of the estimated price for both the overall order and each individual item within the order.
Please note that the order price estimate endpoint does not support Embedded FX orders.
Below is an estimate request for an order with 2 order items.
{
"payment_method": {
"type": "ACCOUNT_BALANCE",
"currency": "GBP"
},
"items": [
{
"face_value": 10,
"products": {
"type": "SINGLE",
"value": "AMZ-GB"
}
},
{
"face_value": 10,
"products": {
"type": "SINGLE",
"value": "AMZ-GB"
}
}
]
}
Below is how the response body might look like for the request body above. It contains following fields that are related to the order price.
- Price of each item is presented in the
price
field. - The
total_price
is the sum of all order item prices
{
"payment_method": {
"type": "ACCOUNT_BALANCE"
},
"currency": "GBP",
"total_price": 20,
"items": [
{
"products": {
"type": "SINGLE",
"values": "AMZ-GB"
},
"face_value": 10,
"price": 10
},
{
"products": {
"type": "SINGLE",
"values": "AMZ-GB"
},
"face_value": 10,
"price": 10
}
]
}
Updated 4 months ago