Skip to main content
Talescria has two environments: Accounts, recipients, payment links, customers and invoices belong to one environment. Something made in test can’t be used in live, and the other way round.

The key decides

You don’t choose the environment per request: every request acts in its key’s environment. A test token only ever touches test data. If a request does name an environment (in the query or body) and it differs from the key’s, it’s refused with 403 ENVIRONMENT_MISMATCH. You can leave environment out everywhere.

Going live

Live keys stop working if your account leaves good standing, and start working again only once it’s back. Before approval, requests with a live key are refused with 403 ENVIRONMENT_UNAVAILABLE. To go live:
  1. Finish verification in the dashboard.
  2. Once approved, create a live OAuth client with the scopes you need.
  3. Swap the client ID and secret in your server’s configuration. Your code doesn’t change.
Test data is not copied to live. Open your live accounts and add your live recipients once you’re approved.