Errors
Errors answer { "error": "<what is wrong, in words>", "fieldErrors": { "<field>": "<what it needs>" } } with 400 or 422 for what you sent, 401 without a working token, 403 for what the token may not do, 404 for what this token cannot see, 409 for a conflict, 429 for limits.
Test mode
A test key (tick Test key when making the token) makes invoices that stay drafts marked TEST-<id>: never posted, numbered, sent or paid, and in no GST return. Its proformas stay drafts too, and its checkouts take a test payment. As nothing is posted, a test key sends no webhooks. Instead, under Connections › Webhooks: Send a test checks your signature code, and Send a sample sends the latest real event of the kind you choose, signed, under an id starting evt_sample_ (nothing changes in OSuite), so your handler is tried on real data before you go live. Each event’s schema is in openapi.json.
Also as Markdown. See the API reference for every field.