Going live
When your integration works in the sandbox, switch these to the live organization:
- API keys: replace
ak_test_…/sk_test_…with the live organization'sak_live_…/sk_live_…. - Networks and tokens: use mainnet
networkId/tokenIdvalues, or live catalogprice_ids. Testnet IDs return400 NETWORK_MODE_MISMATCHin a live organization. - Webhooks: set the webhook URL on the live API key and use its signing secret.
- Webhook handling: only fulfill orders from events with
livemode: true. - Catalog and widgets: create them in the live organization. Sandbox products, prices and widgets stay in the sandbox.
- Withdrawals: configure withdrawal addresses on mainnet in the live organization.
The sandbox stays available for testing changes after you go live.