8. Test Mode (Sandbox)
Nijipe provides a complete test environment allowing you to simulate checkouts, invoice expirations, and webhook deliveries without using real Bitcoin.
To activate test mode, simply use your test API key (which begins with nj_test_) instead of your live key. All objects created with a test key will be isolated to the test environment and will not process real funds or interact with the mainnet blockchain.
Test Mode Features
- Mock Invoices: Generated invoices will return dummy Bitcoin addresses and Lightning invoices that do not require actual payment.
- Simulated Payments: You can simulate successful payments directly from your dashboard's developer section.
- Isolated Webhooks: Webhooks triggered in test mode will include a
livemode: falseflag in the payload.