4. Generate an API Token

The API token is required to authenticate requests made from your backend to Novasend APIs.

Environments (Sandbox vs Production)

EnvironmentBase URL
Sandboxhttps://sandbox.novasend.app/ — use sandboxScenario on POST payloads
Productionhttps://business.novasend.app/ — real operations

Sandbox scenarios accept completed, failed, and pending.

You can switch between Sandbox (Test) and Production (Live) environments. Each environment is strictly isolated:

  • API Keys, Webhooks, Transactions, and Reports are distinct for each environment.
  • Nothing is transferred from one environment to another.
  • This allows you to develop and test safely in Sandbox before moving to Production.

Environment

Important: Sandbox uses fictitious funds. Payments, transfers, and deposits are simulated and never move real money.

How to create an API Token ?

  • Go to Settings in the sidebar
  • Open the Token tab

Token Tab

  • Click on New Token button

New Token Button

  • Enter the Token name

Token Name

  • Copy and store the API Key and Secret Key securely

Attention: Store your tokens securely, do not expose them in frontend code, and regenerate them if compromised.