OrderTotalV2 is a JSON Structure definition published by Otter, describing 3 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-order-total-v2-structure.json",
"name": "OrderTotalV2",
"description": "V2 for details about values of the order, provides richer objects allowing to capture taxes, misc charges, payments more precisely.",
"type": "object",
"properties": {
"customerTotal": {
"nullable": false,
"allOf": [
{
"$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-financial-data-schema.json"
}
]
},
"customerPayment": {
"nullable": true,
"description": "The customer perspective, each price field in this model is meant to represent the values the customer paid/received and how. Values must match amounts and payment methods described in customerPayments.",
"allOf": [
{
"$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-customer-payment-v2-schema.json"
}
]
},
"payout": {
"nullable": true,
"description": "Breakdown of net payout received by the store. Optional object, should be provided when payout information is available during the order lifecycle.",
"allOf": [
{
"$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-payout-schema.json"
}
]
}
},
"required": [
"customerTotal"
]
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.