TTocler Docs
Dashboard
API reference›Introduction

API delivery contract

The request Tocler sends your endpoint, field by field, and the answer it accepts (API version 2026-10-30).

Updated 2 November 2026Live from Tocler
HeaderValue
Content-Typeapplication/json
User-AgentTocler-API-Delivery/1
x-tocler-eventorder.paid · test
x-tocler-timestampUnix seconds
x-tocler-signaturev1=<hex HMAC-SHA256 of "<timestamp>.<raw body>" with your endpoint secret>
x-tocler-deliveryThe delivery id (same as body id)
Body fieldTypeMeaning
idstringDelivery id: <order id>.<line index>. Stable across retries.
eventstringorder.paid or test
testbooleanOnly on test requests: true
apiVersionstring2026-10-30
createdAtstringWhen this request was made (ISO 8601)
attemptinteger1, 2, … on retries
storeobjectid, name, url
orderobjectid, createdAt, currency (ISO 4217), total (decimal text), paidWith
lineobjectindex, quantity, unitPrice, product { id, name, sku }, variant { id, name, sku }
fieldsobjectThe buyer’s answers by question key
fieldListarray[{ id, key, label, value }] — every answer, with or without a key (value null when erased)
buyerobject{ email } — only if the endpoint sends the buyer’s email
Answer fieldTypeRule
itemsarrayExactly line.quantity items: text (≤ 4 KB) or an object of ≤ 8 labelled values
messagestring≤ 2,000 characters, shown to the buyer

Answer 2xx with at least items or message, within 10 seconds, at most 64 KB. Anything else counts as a failure and is retried (1, 5, 15 and 30 minutes). The full walk-through: API delivery for developers.

Was this page helpful?