RespireSoft InvoicingAPI docsReferenceWebhooks

Authentication

Every request carries a key. Keys belong to one business and one mode.

Send the key in the Authorization header over HTTPS. Never put a secret key in a web page or an app that other people can open.

Authorization: Bearer sk_live_…

Keys

PrefixWhat it is
sk_live_Secret key for real data. Full access to what your business has switched on.
sk_test_Secret key for test mode. Objects it makes are test objects and are invisible to live keys.
rk_live_, rk_test_Restricted key. Only the scopes you gave it.

Make, revoke and roll keys under Settings, Developers. The secret is shown once, when the key is made. We keep only a hash, so we cannot show it again.

Scopes

A restricted key lists scopes such as documents:write or customers:read. write includes read. The areas are customers, catalog, documents, offers, checkout, payments, plans, webhooks and reports. A request outside the scopes gets 403 insufficient_scope.

Test mode

A test key sees test data only. Payments in test mode use the payment providers' test systems, and webhook endpoints made with a test key are test endpoints that receive test events only. You can use http:// addresses for test endpoints.

Rolling a key

Roll a key in the app to get a new secret. The old key keeps working for 24 hours by default (you choose 0 to 168 hours), so you can deploy the new one first.

Limits

600 requests a minute per key. Every answer has X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. Over the limit you get 429 rate_limited; wait for the reset time. Every answer also has a Request-Id header; send it to us when you ask for help.

Versioning

The current version is 2026-11-01. It is also in the api_version field of events. Changes that could break you get a new version, and your endpoints keep the version they were made with.