Skip to main content
Test mode lets you build and test your integration without processing real payments. Live mode accepts real transactions from customers. Each mode has its own API keys, products, and webhooks.

Feature Availability

Environment Dependent vs Independent

Environment dependent features keep separate data in each mode. A change in one mode doesn’t affect the other. Environment independent features share one set of data across both modes. Your account settings, business profile, bank account, and verification documents are the same in test and live mode, so a change in either mode applies to both.

API Endpoints

Use these hostnames to route requests to the correct environment:
  • Test Mode: https://test.dodopayments.com
  • Live Mode: https://live.dodopayments.com
Most SDKs select the environment with a client option instead of a base URL, for example environment: 'test_mode' in TypeScript. The PHP and C# SDKs take the test mode base URL instead. See SDKs.

How Modes Work

In test mode, every transaction is simulated and no money moves. Use the test cards, UPI IDs, and other credentials in Testing Process to simulate successful and failed payments. That page also has a video of a complete test payment. Test credentials work only in test mode. Live mode is available as soon as you sign up. Live payments and payouts turn on after your account passes Account Verification. Products, API keys, and webhooks belong to the mode you create them in. To reuse a product, open it in test mode and copy it to live mode. The copy keeps the product’s details. A test mode API key doesn’t authenticate against live.dodopayments.com, and a live key doesn’t authenticate against test.dodopayments.com. To receive test mode webhooks on your local machine while you develop, forward them with the CLI webhook listener (dodo wh listen).

Switching Between Modes

To switch modes, use the Live Mode switch in the dashboard sidebar. Use the API keys that belong to the mode you’re working in.

Next Steps

Testing Process

Test cards, UPI, BNPL, wallets, and bank debits.

Account Verification

Enable live payments and payouts.
Last modified on September 25, 2026