How it behaves
Read only
Every endpoint is a
GET. Nothing you call here can change an order, a refund or a customer.Scoped by your key
You only ever receive your own data. There is no account filter to pass, and none to get wrong.
Same shape everywhere
One error envelope, one date convention, one pagination model, across every resource.
Every time is UTC. The
from/to filters are YYYY-MM-DD at 00:00:00 UTC, and every datetime field in responses (purchaseCreatedAt, checkoutInitializedAt, and the rest) is UTC as well, formatted YYYY-MM-DD HH:MM:SS. There is no timezone parameter, so convert on your side if you need local time.Two things that surprise people
to is exclusive
For all of April, use
from=2026-04-01 and to=2026-05-01, the day after your intended last day. The widest window you can ask for is 90 days.Paginate with page + limit
limit sets the page size (up to 5000, default 1000) and page is 1-based. Records come newest first. When meta.truncated is true the page is full and there may be more, so request the next page.Incremental capture. Filter by last-update time with
updatedFrom/updatedTo (same YYYY-MM-DD UTC rules) to pull only what changed since your last sync. Provide a creation window, an update window, or both. At least one is required.When something goes wrong
Every error comes back in the same envelope:The
correlation_id is always present, in the body and in the x-correlation-id header. Include it when you open a support ticket and we can trace your exact request.Next
Authentication
How the
pag_ key works, how to send it, and how to keep it safe.API Reference
Every resource, every parameter, and a “Try it” playground.