Create Your First Account
Set up your 3PAY merchant account and get API credentials.
Create Your First Account
1. Register
- Go to
https://sandbox.3pa-y.com/→ Sign Up - Enter company name, email, password
- Complete email verification
KYC/KYB is required for live payments. Sandbox is available immediately.
2. Get API Credentials
In Settings > API Keys you'll find:
| Credential | Header | Notes |
|---|---|---|
| API Key | apikey | Required on all API calls |
| API Secret | x-api-secret | Optional (validated if sent). Required for approve/reject. |
| Webhook Secret | — | Auto-generated. Used to verify X-Webhook-Signature. |
Full auth details: Authentication & Security
3. Configure Webhook URL
Settings > Webhooks → enter your HTTPS endpoint → Save → test with Send Test Webhook.
4. Store Credentials
# .env
THREE_PAY_API_KEY=your-api-key
THREE_PAY_API_SECRET=your-api-secret
THREE_PAY_WEBHOOK_SECRET=your-webhook-secretKeep credentials server-side only. Never commit to source control.
Environments
| Sandbox | Production | |
|---|---|---|
| Dashboard | https://sandbox.3pa-y.com/ | https://dashboard.3pa-y.com |
| Networks | Sepolia (ERC20), Nile (TRC20) | Ethereum, Tron |
| Funds | Testnet (no value) | Real USDT |
Sandbox and production are completely separate. Nothing carries over.
Next
Updated 26 days ago
