POST
/
order
/
estimate
Estimate order
curl --request POST \
  --url https://playground.runa.io/v2/order/estimate \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "payment_method": {
    "type": "ACCOUNT_BALANCE",
    "currency": "USD"
  },
  "items": [
    {
      "products": {
        "type": "MULTIPLE",
        "values": [
          "AMZ-US",
          "AIRBNB-US"
        ]
      },
      "face_value": 10
    }
  ]
}'
{
  "payment_method": {
    "type": "ACCOUNT_BALANCE",
    "currency": "USD"
  },
  "items": [
    {
      "products": {
        "type": "MULTIPLE",
        "values": [
          "AMZ-US",
          "AIRBNB-US"
        ]
      },
      "face_value": 10,
      "price": 123,
      "discount_multiplier": 123
    }
  ],
  "currency": "USD",
  "total_discount": 123,
  "total_price": 123
}
The estimate endpoint is currently unsupported in the playground environment.
The estimate endpoint currently does not support Embedded FX orders. The currency of the payment method must be the same as the currency of the order items.

Authorizations

X-Api-Key
string
header
required

Your API key. See the API key page on details of how to generate and store your keys.

Headers

X-Api-Version
string

The dated version of the API, if not specified a default is used. See API versioning for more information.

Body

application/json

The details of the order to estimate.

Request for a price estimate for an order.

Response

200
application/json

OK

Response object for a order price estimate.