Glossary

Live mode vs test mode

livemode is the boolean on every webhook and resource that says whether it is real production data (true) or sandbox test data (false).

2 min read

Definition

Live mode and test mode are fully separate environments. Every webhook envelope carries livemode: true for production, false for sandbox. Test and live have separate data, separate webhook endpoints and separate signing secrets. A well-built handler asserts the mode it expects and rejects the other, so a stray test event never touches production logic. Test everything in sandbox first — see Test a webhook locally.

Frequently asked questions

Can a test event reach my live endpoint?

Endpoints are registered per mode, so no — but assert livemode in your handler anyway as a safety net.

Funding for UK limited companies

Credicorp lends to your company, not to you personally — short-term working capital with no personal guarantee. See what your business could access.