API Explorer
You are viewing an old version of the API

Calculate order

Enables applications to preview order pricing without creating an order.

Open in API Reference

Sign In

Body

Order
OrderReward [ ]
Request
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
  • Node.js
curl https://connect.squareupsandbox.com/v2/orders/calculate \
  -X POST \
  -H 'Square-Version: 2021-03-17' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json'
Response
// No response received yet.