Skip to content

Test mode and live mode

The dashboard has two modes, always visible in the top bar: Prueba (test) and Real (live). They are two separate worlds: each has its own operations, balance, beneficiaries, batches, API keys and webhook. Nothing from one mode shows up in the other.

Test mode Live mode
Moves money? No, never. Yes.
How to tell A fixed amber banner at the top, «Modo prueba: nada de esto mueve dinero» (test mode: none of this moves money), and an amber dot on the browser tab icon. No banner.
API keys tuc_test_…, for the sandbox (https://api.tucapi.app/sandbox). tuc_live_…, for production.
Available From day one. Once TuCapi enables your company.

Switch modes with the Prueba / Real toggle. The screen you are on reloads with the other mode’s data.

It is the same dashboard, with the same screens and the same rules, but no money involved. Use it to:

  • learn the dashboard without risk;
  • test your integration with a tuc_test_ key and see its calls, its operations and the notifications your webhook receives;
  • rehearse a bulk payout batch before sending it for real.

In Nuevo pago and Nuevo cobro, test mode shows a box of test documents that always produce the same outcome (confirmed, failed, pending), with a Usar (Use) button that fills in the form. For a one-time-code debit, the test code is 123456. See also Sandbox and production.

Every new company starts in test mode only. Live mode is enabled once TuCapi finishes reviewing your company; in the meantime you can integrate and test everything in test mode.

While the review is pending, live mode is read-only:

  • A fixed banner appears above the content: «Tu cuenta en modo real está en revisión.» (your live-mode account is under review; meanwhile you can integrate and test everything in test mode), with a Pasar a modo prueba (Switch to test mode) button.
  • You can look at everything, but every action that writes (creating a payout or a pay-in, uploading or confirming a batch, saving a beneficiary, creating a key, configuring the webhook) is disabled, with the reason.
  • Since live keys cannot be created yet, your integration stays on the sandbox until you are enabled.

When TuCapi enables your company, the banner disappears and live mode is fully available. You don’t need to do anything in the dashboard.

If anything tries to write in live mode before your company is enabled, the server rejects it with 403 and the code live_mode_not_enabled:

403 Forbidden
{ "error": "live_mode_not_enabled" }

The dashboard shows it as «Tu empresa todavía no tiene habilitado el modo real; mientras tanto, usa el modo prueba.» (your company doesn’t have live mode enabled yet; meanwhile, use test mode). It is not a failure, just the step that is still missing. Don’t retry; wait for the enablement or do the same in test mode.