0Bit public documentation
Modes and environments
Gate sandbox and production isolation.
Gate has two credential modes and two API origins:
| Mode | Key prefixes | API origin |
|---|---|---|
| Test | sk_test_*, pk_test_* |
https://gate-api-sandbox.0bit.app |
| Live | sk_live_*, pk_live_* |
https://gate-api.0bit.app |
The URL is an origin only. Gate routes are unversioned.
Mode is attached to the credential and copied to partner-owned resources. A test key cannot access live resources, and a live key cannot access test resources. Use separate webhook destinations and secrets where your configuration provides them.
Sandbox is for contract and integration testing. Do not infer live payment-method or rail availability from a sandbox response. Query the capability and eligibility endpoints with the key and environment you are about to use.
Before enabling a live flow:
- replace both secret and publishable test keys;
- switch the API and widget environment together;
- configure and verify the live webhook destination;
- query capabilities and eligibility;
- confirm the organization's Gate and, when needed, rails entitlements.
