Skip to content

Tote Online Ordering API (1.0.0)

REST API for 3rd party developers building online ordering integrations with Tote POS convenience stores and fuel stations.

Overview

The Tote Online Ordering API enables partners to:

  • Authenticate via OAuth 2.0 client credentials
  • Browse store locations and business hours
  • Retrieve full menus with nested modifier groups
  • Create and manage shopping carts
  • Submit orders with split payment support
  • Track order fulfillment status
  • Subscribe to webhook events for real-time updates
  • Check item availability and inventory

Base URL

The server URLs below are placeholders. Your actual API base URL, client ID, and client secret are provided during partner onboarding. Contact developer@totepos.com to get started.

Path parameters use snake_case. JSON response fields use snake_case. Schema names use PascalCase. Enum values use SCREAMING_SNAKE_CASE.

Download OpenAPI description
Overview
Tote Developer Support
Languages
Servers
Mock server
https://developers.tote.ai/_mock/online-ordering/spec/openapi
Production (placeholder -- use your assigned base URL)
https://api.tote.ai/v1/online-ordering
Sandbox (placeholder -- use your assigned base URL)
https://sandbox.api.tote.ai/v1/online-ordering

Authentication

OAuth 2.0 client credentials token management.

Operations

Locations

Store locations, hours, and capabilities.

Operations

Carts

Shopping cart creation, item management, pricing, and checkout.

Operations

Orders

Order retrieval, fulfillment tracking, and cancellation.

Operations

Get order details

Request

Returns the full order resource including line items, payments, all three status fields, financial totals, and handoff details.

Status fields:

  • status: Order lifecycle (PENDING, CONFIRMED, COMPLETED, etc.)
  • payment_status: Aggregate payment state (UNPAID, PROCESSING, PARTIALLY_PAID, PAID)
  • fulfillment_status: Physical fulfillment progress (PENDING through FULFILLED/DELIVERED)

Polling for updates: After submitting a payment, poll this endpoint to check the updated payment_status and balance_due. Recommended polling interval: 2 seconds, with exponential backoff up to 30 seconds. Stop polling when payment_status reaches PAID or the payment reaches a terminal state.

Payments array: The payments array contains all payments attached to this order, including their individual statuses. Use this to display payment history and determine if additional payments are needed for split-pay scenarios.

Security
oauth2
Path
order_idstring(uuid)required

Unique identifier for the order.

curl -i -X GET \
  'https://developers.tote.ai/_mock/online-ordering/spec/openapi/orders/{order_id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

The full order resource.

Bodyapplication/json
idstring(uuid)required

Unique identifier for the order.

cart_idstring(uuid)required

The cart this order was created from.

location_idstring(uuid)required

The location (store) this order belongs to.

customer_idstring or null<= 128 characters

Customer identifier from the cart at checkout time. Null for anonymous orders. Locked at checkout -- cannot be changed after the order is created.

Example: "CUST-12345"
statusstring(OrderStatus)required

Order lifecycle status. Tracks the high-level state of the order from creation through completion or cancellation.

  • PENDING: Order created from cart checkout, awaiting payment.
  • CONFIRMED: At least one payment completed; order accepted by the store.
  • COMPLETED: Order fulfilled and closed.
  • FAILED: Order could not be processed (e.g., all payments failed).
  • VOIDED: Order voided before any fulfillment began.
  • CANCELLED: Order cancelled by customer or system.

State transitions:

  • PENDING -> CONFIRMED, FAILED, VOIDED, CANCELLED
  • CONFIRMED -> COMPLETED, CANCELLED
  • COMPLETED, FAILED, VOIDED, CANCELLED are terminal (no further transitions)
Enum"PENDING""CONFIRMED""COMPLETED""FAILED""VOIDED""CANCELLED"
payment_statusstring(OrderPaymentStatus)required

Aggregate payment status across all payments on the order. This is a server-computed summary -- do not set directly.

  • UNPAID: No payments submitted yet.
  • PROCESSING: At least one payment is in a non-terminal state (PENDING or AUTHORIZED).
  • PARTIALLY_PAID: Some payments completed but total paid < order total.
  • PAID: Total paid >= order total. The order is fully covered.

State transitions:

  • UNPAID -> PROCESSING, PARTIALLY_PAID, PAID
  • PROCESSING -> PARTIALLY_PAID, PAID, UNPAID (if all payments fail)
  • PARTIALLY_PAID -> PROCESSING, PAID
  • PAID is terminal for forward flow (refunds revert to PARTIALLY_PAID or UNPAID)
Enum"UNPAID""PROCESSING""PARTIALLY_PAID""PAID"
fulfillment_statusstring(FulfillmentStatus)required

Fulfillment lifecycle status. Tracks the physical preparation and handoff of the order. Maps directly from the backend fulfillment state machine.

  • PENDING: Order created, not yet accepted by store.
  • IN_PROGRESS: Store accepted the order and is queuing it.
  • PREPARING: Store staff actively assembling the order.
  • READY_FOR_PICKUP: Order assembled and waiting for customer (pickup/curbside).
  • FULFILLED: Customer received the order (pickup/curbside/kiosk).
  • DELIVERED: Order delivered to customer address (delivery orders).
  • RETURNED: Order returned after fulfillment.
  • CANCELLED: Fulfillment cancelled before completion.

State transitions:

  • PENDING -> IN_PROGRESS, CANCELLED
  • IN_PROGRESS -> PREPARING, CANCELLED
  • PREPARING -> READY_FOR_PICKUP, CANCELLED
  • READY_FOR_PICKUP -> FULFILLED, DELIVERED, CANCELLED
  • FULFILLED -> RETURNED
  • DELIVERED -> RETURNED
  • RETURNED, CANCELLED are terminal (no further transitions)

Cancellation restriction: Orders can only be cancelled via POST /orders/{order_id}/cancel when fulfillment_status is PENDING or IN_PROGRESS. Once preparation begins, cancellation requires store intervention.

Enum"PENDING""IN_PROGRESS""PREPARING""READY_FOR_PICKUP""FULFILLED""DELIVERED""RETURNED""CANCELLED"
itemsArray of objects(OrderItem)required

Line items in the order (locked at checkout).

items[].​idstring(uuid)required

Unique identifier for this order item.

items[].​menu_item_idstring(uuid)required

Reference to the original menu item.

items[].​namestringrequired

Display name of the item (locked at checkout).

items[].​quantityinteger>= 1required

Number of this item in the order.

items[].​base_priceobject(Money)required

Base price per unit (locked at checkout).

items[].​base_price.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
items[].​base_price.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
items[].​modifier_totalobject(Money)required

Total price of all selected modifiers per unit (locked at checkout).

items[].​modifier_total.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
items[].​modifier_total.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
items[].​item_totalobject(Money)required

Total for this line item: (base_price + modifier_total) * quantity. Locked at checkout.

items[].​item_total.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
items[].​item_total.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
items[].​modifier_selectionsArray of objects(ModifierSelection)required

Modifiers selected for this item (locked at checkout).

items[].​modifier_selections[].​modifier_group_idstring(uuid)required

ID of the modifier group this selection belongs to.

items[].​modifier_selections[].​modifier_idstring(uuid)required

ID of the selected modifier within the group.

items[].​modifier_selections[].​quantityinteger>= 1

Quantity of this modifier. Relevant for modifier groups with allows_duplicates: true (e.g., "Extra Cheese x2").

Default 1
items[].​modifier_selections[].​nested_selectionsArray of objects(ModifierSelection)

Selections for nested modifier groups. For example, selecting "Steak" as a protein, then choosing "Medium" from the steak preparation sub-group. Supports up to 3 nesting levels, matching the menu's modifier group depth.

items[].​special_instructionsstring or null<= 200 characters

Customer's special instructions for this item, locked at checkout. Null if none were provided.

items[].​age_verification_requiredboolean

True if this item requires age verification. Copied from the menu item at checkout time.

Default false
items[].​minimum_ageinteger or null

Minimum age required to purchase this item (e.g., 21 for alcohol). Null if age verification is not required.

paymentsArray of objects(Payment)required

Payments attached to this order. Empty array until the first payment is submitted via POST /orders/{order_id}/payments.

payments[].​idstring(uuid)required

Unique identifier for the payment.

payments[].​order_idstring(uuid)required

The order this payment is attached to.

payments[].​statusstring(PaymentStatus)required

Payment processing status. The typical online ordering flow is: PENDING -> COMPLETED (immediate capture).

For pre-authorization flows: PENDING -> AUTHORIZED -> CAPTURED -> COMPLETED.

Terminal states: COMPLETED, VOIDED, REFUNDED, FAILED.

State transitions:

  • PENDING -> AUTHORIZED, COMPLETED, FAILED
  • AUTHORIZED -> CAPTURED, VOIDED, FAILED
  • CAPTURED -> COMPLETED, REFUNDED, PARTIALLY_REFUNDED
  • COMPLETED -> REFUNDED, PARTIALLY_REFUNDED
  • VOIDED, REFUNDED, FAILED are terminal (no further transitions)
  • PARTIALLY_REFUNDED -> REFUNDED (when remaining amount is refunded)
Enum"PENDING""AUTHORIZED""CAPTURED""COMPLETED""VOIDED""REFUNDED""PARTIALLY_REFUNDED""FAILED"
payments[].​payment_methodstring(PaymentMethod)required

The payment method used. These are the API-facing values; the server maps them to internal payment processing types.

  • CREDIT_CARD: Visa, Mastercard, Amex, Discover credit cards
  • DEBIT_CARD: Debit cards with PIN or signature
  • CASH: Customer pays cash at the pickup counter. Only meaningful for PICKUP and DINE_IN handoff modes. The order is submitted online but payment is collected in-store.
  • GIFT_CARD: Store gift cards or third-party gift cards
  • LOYALTY_POINTS: Loyalty program points redeemed as payment
  • DIGITAL_WALLET: Apple Pay, Google Pay, or other digital wallets
  • EBT: SNAP/EBT card. Item eligibility applies -- only SNAP-eligible items (generally food items, excluding hot prepared foods and tobacco) can be paid with EBT. Check allowed_tenders on each menu item.

Tolerant Reader: New payment method values may be added in future API versions. Your integration should handle unknown enum values gracefully (e.g., log a warning and skip) rather than failing.

Enum"CREDIT_CARD""DEBIT_CARD""CASH""GIFT_CARD""LOYALTY_POINTS""DIGITAL_WALLET""EBT"
payments[].​amountobject(Money)required

The payment amount in cents.

payments[].​amount.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
payments[].​amount.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
payments[].​tip_amountMoney (object) or null

Tip amount included in this payment, if any. Null if no tip.

One of:

Tip amount included in this payment, if any. Null if no tip.

payments[].​payment_detailsobject or null

Method-specific details. Shape varies by payment_method:

  • CREDIT_CARD / DEBIT_CARD: { "last_four": "4242", "brand": "visa", "exp_month": 12, "exp_year": 2027 }
  • GIFT_CARD: { "last_four": "7890", "balance_remaining": { "amount": 1500, "currency": "USD" } }
  • LOYALTY_POINTS: { "points_used": 500, "points_remaining": 1200 }
  • DIGITAL_WALLET: { "wallet_type": "apple_pay" }
payments[].​idempotency_keystring(uuid)

The idempotency key used when this payment was submitted.

payments[].​created_atstring(date-time)required

When the payment was created.

payments[].​updated_atstring(date-time)required

When the payment status was last updated.

discountsArray of objects(DiscountLineItem)

Discounts applied to the order (locked at checkout).

promo_codesArray of objects(PromoCode)

Promo codes that were active on the cart at checkout (locked at checkout).

handoffobject(HandoffMode)
One of:

The handoff mode and details for this order.

notesstring or null<= 500 characters

Customer notes from checkout (e.g., "No onions please"). Null if no notes were provided.

subtotalobject(Money)required

Sum of all item totals before tax and discounts.

subtotal.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
subtotal.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
total_taxobject(Money)required

Total tax amount for the order.

total_tax.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
total_tax.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
total_discountobject(Money)

Total of cart-level discounts applied to the order (locked at checkout). Item-level discounts are reflected in each item's total.

feesArray of objects(FeeLineItem)

Fees applied to this order (locked at checkout).

total_feesobject(Money)

Sum of all fee amounts (locked at checkout).

totalobject(Money)required

Grand total: subtotal + total_tax + total_fees - total_discount. Locked at checkout.

total.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
total.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
total_paidobject(Money)required

Sum of all completed payment amounts. Updated as payments reach COMPLETED status.

total_paid.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
total_paid.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
balance_dueobject(Money)required

Remaining amount to be paid (total - total_paid). Zero when the order is fully paid.

balance_due.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
balance_due.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
age_verification_requiredboolean

True if any item requires age verification. When true, the consumer will be verified at pickup or delivery (offline verification).

Default false
age_verification_noticestring or null

Human-readable notice about age verification requirements. Null when no age-restricted items are in the order.

estimated_ready_atstring or null(date-time)

Estimated time the order will be ready for pickup or delivery, as an ISO 8601 datetime (e.g., "2026-03-15T14:30:00-05:00"). Null when the estimate is not yet available (e.g., before the order is confirmed by the store). Updated as the order progresses -- poll the order or listen for order.status.changed webhooks to get updated estimates.

created_atstring(date-time)required

When the order was created (checkout time).

updated_atstring(date-time)required

When the order was last modified.

Response
application/json
{ "id": "f9a8b7c6-d5e4-3210-fedc-ba9876543210", "cart_id": "c1d2e3f4-a5b6-7890-cdef-1234567890ab", "location_id": "b5a7c8d9-e0f1-4a2b-8c3d-4e5f6a7b8c9d", "status": "CONFIRMED", "payment_status": "PAID", "fulfillment_status": "PREPARING", "items": [ { … }, { … } ], "payments": [ { … } ], "discounts": [], "handoff": { "mode": "CURBSIDE", "vehicle_make": "Toyota", "vehicle_model": "Camry", "vehicle_color": "Silver", "pickup_time": null }, "notes": null, "subtotal": { "amount": 1797, "currency": "USD" }, "total_tax": { "amount": 148, "currency": "USD" }, "total_discount": { "amount": 0, "currency": "USD" }, "total": { "amount": 1945, "currency": "USD" }, "total_paid": { "amount": 1945, "currency": "USD" }, "balance_due": { "amount": 0, "currency": "USD" }, "age_verification_required": false, "age_verification_notice": null, "created_at": "2026-01-31T10:07:00Z", "updated_at": "2026-01-31T10:09:00Z" }

Cancel an order

Request

Cancels an order that has not yet started preparation. This endpoint is only available when fulfillment_status is PENDING or IN_PROGRESS.

Fulfillment restriction: Once the store begins preparing the order (fulfillment_status is PREPARING or later), this endpoint returns 409 Conflict. Cancellation at that stage requires store intervention.

Automatic void/refund: When an order is cancelled, the server automatically handles all attached payments:

  • Payments in PENDING or AUTHORIZED status are voided (no charge).
  • Payments in CAPTURED or COMPLETED status are refunded in full.
  • Refunds follow the minimize-cash-refund strategy: loyalty points are refunded first, then gift cards, then credit/debit cards.

No separate refund request is needed after cancellation.

Idempotency: This endpoint requires the Idempotency-Key header. If the order was already cancelled with the same key, the server returns the current order state without re-processing.

Result: The order's status is set to CANCELLED, fulfillment_status is set to CANCELLED, and all payments are voided or refunded.

Security
oauth2
Path
order_idstring(uuid)required

Unique identifier for the order.

Headers
Idempotency-Keystring(uuid)<= 40 charactersrequired

A unique key (UUID v4) to ensure idempotent request processing. Required on all POST, PUT, and DELETE requests.

If a request is retried with the same key within 24 hours, the server returns the cached success response without re-processing. Error responses are NOT cached -- retrying after an error with the same key will re-execute the request.

Generate a new UUID v4 for each unique operation. Reuse the same key only when retrying a failed or timed-out request.

Example: d7a8fbb3-07d4-4e3c-b5f2-9a6c8b1e0f23
Bodyapplication/json
reasonstring or null<= 500 characters

Optional human-readable reason for cancellation. Stored on the order for reporting and analytics.

Example: "Customer changed their mind"
curl -i -X POST \
  'https://developers.tote.ai/_mock/online-ordering/spec/openapi/orders/{order_id}/cancel' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: d7a8fbb3-07d4-4e3c-b5f2-9a6c8b1e0f23' \
  -d '{
    "reason": "Customer changed their mind"
  }'

Responses

Order cancelled successfully. Returns the updated order with status CANCELLED and all payments voided/refunded.

Bodyapplication/json
idstring(uuid)required

Unique identifier for the order.

cart_idstring(uuid)required

The cart this order was created from.

location_idstring(uuid)required

The location (store) this order belongs to.

customer_idstring or null<= 128 characters

Customer identifier from the cart at checkout time. Null for anonymous orders. Locked at checkout -- cannot be changed after the order is created.

Example: "CUST-12345"
statusstring(OrderStatus)required

Order lifecycle status. Tracks the high-level state of the order from creation through completion or cancellation.

  • PENDING: Order created from cart checkout, awaiting payment.
  • CONFIRMED: At least one payment completed; order accepted by the store.
  • COMPLETED: Order fulfilled and closed.
  • FAILED: Order could not be processed (e.g., all payments failed).
  • VOIDED: Order voided before any fulfillment began.
  • CANCELLED: Order cancelled by customer or system.

State transitions:

  • PENDING -> CONFIRMED, FAILED, VOIDED, CANCELLED
  • CONFIRMED -> COMPLETED, CANCELLED
  • COMPLETED, FAILED, VOIDED, CANCELLED are terminal (no further transitions)
Enum"PENDING""CONFIRMED""COMPLETED""FAILED""VOIDED""CANCELLED"
payment_statusstring(OrderPaymentStatus)required

Aggregate payment status across all payments on the order. This is a server-computed summary -- do not set directly.

  • UNPAID: No payments submitted yet.
  • PROCESSING: At least one payment is in a non-terminal state (PENDING or AUTHORIZED).
  • PARTIALLY_PAID: Some payments completed but total paid < order total.
  • PAID: Total paid >= order total. The order is fully covered.

State transitions:

  • UNPAID -> PROCESSING, PARTIALLY_PAID, PAID
  • PROCESSING -> PARTIALLY_PAID, PAID, UNPAID (if all payments fail)
  • PARTIALLY_PAID -> PROCESSING, PAID
  • PAID is terminal for forward flow (refunds revert to PARTIALLY_PAID or UNPAID)
Enum"UNPAID""PROCESSING""PARTIALLY_PAID""PAID"
fulfillment_statusstring(FulfillmentStatus)required

Fulfillment lifecycle status. Tracks the physical preparation and handoff of the order. Maps directly from the backend fulfillment state machine.

  • PENDING: Order created, not yet accepted by store.
  • IN_PROGRESS: Store accepted the order and is queuing it.
  • PREPARING: Store staff actively assembling the order.
  • READY_FOR_PICKUP: Order assembled and waiting for customer (pickup/curbside).
  • FULFILLED: Customer received the order (pickup/curbside/kiosk).
  • DELIVERED: Order delivered to customer address (delivery orders).
  • RETURNED: Order returned after fulfillment.
  • CANCELLED: Fulfillment cancelled before completion.

State transitions:

  • PENDING -> IN_PROGRESS, CANCELLED
  • IN_PROGRESS -> PREPARING, CANCELLED
  • PREPARING -> READY_FOR_PICKUP, CANCELLED
  • READY_FOR_PICKUP -> FULFILLED, DELIVERED, CANCELLED
  • FULFILLED -> RETURNED
  • DELIVERED -> RETURNED
  • RETURNED, CANCELLED are terminal (no further transitions)

Cancellation restriction: Orders can only be cancelled via POST /orders/{order_id}/cancel when fulfillment_status is PENDING or IN_PROGRESS. Once preparation begins, cancellation requires store intervention.

Enum"PENDING""IN_PROGRESS""PREPARING""READY_FOR_PICKUP""FULFILLED""DELIVERED""RETURNED""CANCELLED"
itemsArray of objects(OrderItem)required

Line items in the order (locked at checkout).

items[].​idstring(uuid)required

Unique identifier for this order item.

items[].​menu_item_idstring(uuid)required

Reference to the original menu item.

items[].​namestringrequired

Display name of the item (locked at checkout).

items[].​quantityinteger>= 1required

Number of this item in the order.

items[].​base_priceobject(Money)required

Base price per unit (locked at checkout).

items[].​base_price.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
items[].​base_price.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
items[].​modifier_totalobject(Money)required

Total price of all selected modifiers per unit (locked at checkout).

items[].​modifier_total.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
items[].​modifier_total.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
items[].​item_totalobject(Money)required

Total for this line item: (base_price + modifier_total) * quantity. Locked at checkout.

items[].​item_total.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
items[].​item_total.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
items[].​modifier_selectionsArray of objects(ModifierSelection)required

Modifiers selected for this item (locked at checkout).

items[].​modifier_selections[].​modifier_group_idstring(uuid)required

ID of the modifier group this selection belongs to.

items[].​modifier_selections[].​modifier_idstring(uuid)required

ID of the selected modifier within the group.

items[].​modifier_selections[].​quantityinteger>= 1

Quantity of this modifier. Relevant for modifier groups with allows_duplicates: true (e.g., "Extra Cheese x2").

Default 1
items[].​modifier_selections[].​nested_selectionsArray of objects(ModifierSelection)

Selections for nested modifier groups. For example, selecting "Steak" as a protein, then choosing "Medium" from the steak preparation sub-group. Supports up to 3 nesting levels, matching the menu's modifier group depth.

items[].​special_instructionsstring or null<= 200 characters

Customer's special instructions for this item, locked at checkout. Null if none were provided.

items[].​age_verification_requiredboolean

True if this item requires age verification. Copied from the menu item at checkout time.

Default false
items[].​minimum_ageinteger or null

Minimum age required to purchase this item (e.g., 21 for alcohol). Null if age verification is not required.

paymentsArray of objects(Payment)required

Payments attached to this order. Empty array until the first payment is submitted via POST /orders/{order_id}/payments.

payments[].​idstring(uuid)required

Unique identifier for the payment.

payments[].​order_idstring(uuid)required

The order this payment is attached to.

payments[].​statusstring(PaymentStatus)required

Payment processing status. The typical online ordering flow is: PENDING -> COMPLETED (immediate capture).

For pre-authorization flows: PENDING -> AUTHORIZED -> CAPTURED -> COMPLETED.

Terminal states: COMPLETED, VOIDED, REFUNDED, FAILED.

State transitions:

  • PENDING -> AUTHORIZED, COMPLETED, FAILED
  • AUTHORIZED -> CAPTURED, VOIDED, FAILED
  • CAPTURED -> COMPLETED, REFUNDED, PARTIALLY_REFUNDED
  • COMPLETED -> REFUNDED, PARTIALLY_REFUNDED
  • VOIDED, REFUNDED, FAILED are terminal (no further transitions)
  • PARTIALLY_REFUNDED -> REFUNDED (when remaining amount is refunded)
Enum"PENDING""AUTHORIZED""CAPTURED""COMPLETED""VOIDED""REFUNDED""PARTIALLY_REFUNDED""FAILED"
payments[].​payment_methodstring(PaymentMethod)required

The payment method used. These are the API-facing values; the server maps them to internal payment processing types.

  • CREDIT_CARD: Visa, Mastercard, Amex, Discover credit cards
  • DEBIT_CARD: Debit cards with PIN or signature
  • CASH: Customer pays cash at the pickup counter. Only meaningful for PICKUP and DINE_IN handoff modes. The order is submitted online but payment is collected in-store.
  • GIFT_CARD: Store gift cards or third-party gift cards
  • LOYALTY_POINTS: Loyalty program points redeemed as payment
  • DIGITAL_WALLET: Apple Pay, Google Pay, or other digital wallets
  • EBT: SNAP/EBT card. Item eligibility applies -- only SNAP-eligible items (generally food items, excluding hot prepared foods and tobacco) can be paid with EBT. Check allowed_tenders on each menu item.

Tolerant Reader: New payment method values may be added in future API versions. Your integration should handle unknown enum values gracefully (e.g., log a warning and skip) rather than failing.

Enum"CREDIT_CARD""DEBIT_CARD""CASH""GIFT_CARD""LOYALTY_POINTS""DIGITAL_WALLET""EBT"
payments[].​amountobject(Money)required

The payment amount in cents.

payments[].​amount.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
payments[].​amount.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
payments[].​tip_amountMoney (object) or null

Tip amount included in this payment, if any. Null if no tip.

One of:

Tip amount included in this payment, if any. Null if no tip.

payments[].​payment_detailsobject or null

Method-specific details. Shape varies by payment_method:

  • CREDIT_CARD / DEBIT_CARD: { "last_four": "4242", "brand": "visa", "exp_month": 12, "exp_year": 2027 }
  • GIFT_CARD: { "last_four": "7890", "balance_remaining": { "amount": 1500, "currency": "USD" } }
  • LOYALTY_POINTS: { "points_used": 500, "points_remaining": 1200 }
  • DIGITAL_WALLET: { "wallet_type": "apple_pay" }
payments[].​idempotency_keystring(uuid)

The idempotency key used when this payment was submitted.

payments[].​created_atstring(date-time)required

When the payment was created.

payments[].​updated_atstring(date-time)required

When the payment status was last updated.

discountsArray of objects(DiscountLineItem)

Discounts applied to the order (locked at checkout).

promo_codesArray of objects(PromoCode)

Promo codes that were active on the cart at checkout (locked at checkout).

handoffobject(HandoffMode)
One of:

The handoff mode and details for this order.

notesstring or null<= 500 characters

Customer notes from checkout (e.g., "No onions please"). Null if no notes were provided.

subtotalobject(Money)required

Sum of all item totals before tax and discounts.

subtotal.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
subtotal.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
total_taxobject(Money)required

Total tax amount for the order.

total_tax.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
total_tax.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
total_discountobject(Money)

Total of cart-level discounts applied to the order (locked at checkout). Item-level discounts are reflected in each item's total.

feesArray of objects(FeeLineItem)

Fees applied to this order (locked at checkout).

total_feesobject(Money)

Sum of all fee amounts (locked at checkout).

totalobject(Money)required

Grand total: subtotal + total_tax + total_fees - total_discount. Locked at checkout.

total.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
total.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
total_paidobject(Money)required

Sum of all completed payment amounts. Updated as payments reach COMPLETED status.

total_paid.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
total_paid.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
balance_dueobject(Money)required

Remaining amount to be paid (total - total_paid). Zero when the order is fully paid.

balance_due.​amountintegerrequired

Monetary value in the smallest currency unit (cents for USD). Example: 1299 = $12.99.

Example: 1299
balance_due.​currencystring= 3 charactersrequired

ISO 4217 currency code.

Default "USD"
Example: "USD"
age_verification_requiredboolean

True if any item requires age verification. When true, the consumer will be verified at pickup or delivery (offline verification).

Default false
age_verification_noticestring or null

Human-readable notice about age verification requirements. Null when no age-restricted items are in the order.

estimated_ready_atstring or null(date-time)

Estimated time the order will be ready for pickup or delivery, as an ISO 8601 datetime (e.g., "2026-03-15T14:30:00-05:00"). Null when the estimate is not yet available (e.g., before the order is confirmed by the store). Updated as the order progresses -- poll the order or listen for order.status.changed webhooks to get updated estimates.

created_atstring(date-time)required

When the order was created (checkout time).

updated_atstring(date-time)required

When the order was last modified.

Response
application/json
{ "id": "f9a8b7c6-d5e4-3210-fedc-ba9876543210", "cart_id": "c1d2e3f4-a5b6-7890-cdef-1234567890ab", "location_id": "b5a7c8d9-e0f1-4a2b-8c3d-4e5f6a7b8c9d", "status": "CANCELLED", "payment_status": "UNPAID", "fulfillment_status": "CANCELLED", "items": [ { … } ], "payments": [ { … } ], "discounts": [], "handoff": { "mode": "CURBSIDE", "vehicle_make": "Toyota", "vehicle_model": "Camry", "vehicle_color": "Silver", "pickup_time": null }, "notes": null, "subtotal": { "amount": 1797, "currency": "USD" }, "total_tax": { "amount": 148, "currency": "USD" }, "total_discount": { "amount": 0, "currency": "USD" }, "total": { "amount": 1945, "currency": "USD" }, "total_paid": { "amount": 0, "currency": "USD" }, "balance_due": { "amount": 1945, "currency": "USD" }, "age_verification_required": false, "age_verification_notice": null, "created_at": "2026-01-31T10:07:00Z", "updated_at": "2026-01-31T10:15:00Z" }

Payments

Payment submission, split payments, and refunds.

Operations

Webhook Subscriptions

Webhook subscription management and event delivery.

Operations

Inventory

Item availability and stock status.

Operations

Events

Webhook event payloads delivered to your subscription URLs.

Webhooks