3PAY provides two environments:
- Sandbox — for testing integrations without moving real funds.
- Production — for live transactions with customers.
Always confirm you are using the correct environment before making API calls.
Sandbox (Testing)
-
Base URL:
https://sandbox.pay.3pa-y.com -
Uses TRON Nile testnet for TRC20 transactions. ( )
-
Uses Sepolia testnet for ERC20 transactions ( )
-
You can request test stablecoins from the 3PAY team for development.
-
Sandbox credentials are separate from Production — make sure you generate the correct keys in the dashboard.
Production (Live)
-
Base URL:
https://pay.3pa-y.com -
Uses mainnet blockchains (TRON, Ethereum, etc.) with real assets.
-
Only use your Production API Key and Secret here.
Switching Between Environments
The only difference between Sandbox and Production is the base URL and API keys. All endpoints, request/response formats, and error handling remain the same.
We recommend:
- Use Sandbox for development, staging, and QA environments.
- Switch to Production only after you have tested payments, and error handling thoroughly.
