Ttushe / docs
nsk_test_Operational

Test and live

One host serves both environments. The key decides — the URL never does.

There is no sandbox URL to check. Most providers give you api.example.com and sandbox.example.com, so a glance at the request tells you where you are. We don't. api.trytushe.com serves test and live alike, and the only thing separating them is the prefix on your key.

Key prefixEnvironmentEffect
nsk_test_TestNothing settles. Every module is on. Data never reaches a rail.
nsk_live_LiveReal money, real NIP transfers. Gated on KYB and go-live.

What this means for you

  • Keep the two keys in different secrets — never one variable behind a flag.
  • Log the key prefix on every outbound call. It is the only environment marker.
  • Test and live data never mix: a cross-environment reference is refused by the database, not by a service check.

Sandbox has every module on, deliberately. You can build the whole product before go-live, so MODULE_NOT_ENABLED in test means you disabled it yourself.