Environments
Environments​
Use matching hosts and credentials per environment. Do not mix sandbox credentials with production hosts.
| Environment | Identity URL | API Base URL | Notes |
|---|---|---|---|
| Sandbox | https://sandbox-identity.paywise.co | https://sandbox-api.paywise.co | Use for development, test users, and integration validation. |
| Production | https://identity.paywise.co | https://api.paywise.co | Use only after go-live approval and production key issuance. |
How to choose quickly (ELI5)​
- Building and testing? Use sandbox Identity + sandbox API.
- Going live with real users? Use production Identity + production API.
- Keep keys and tokens separate for each environment.
Sandbox vs Production
Sandbox is where you break things safely. Production is where real users and money flows happen.
Which keys work where​
- Sandbox keys only work with
https://sandbox-api.paywise.co. - Production keys only work with
https://api.paywise.co. - Identity sessions/tokens are environment-scoped:
- Sandbox Identity (
https://sandbox-identity.paywise.co) issues sandbox tokens. - Production Identity (
https://identity.paywise.co) issues production tokens.
- Sandbox Identity (
- If host and key/token environment do not match, requests should be treated as unauthorized/invalid.
How to tell you are in sandbox​
- Your login/start URL is
https://sandbox-identity.paywise.co. - Your API base URL is
https://sandbox-api.paywise.co. - Your credentials are marked or issued as sandbox credentials.
- Your test data should be non-production and safe to reset.
Support​
- Need access, key issuance help, or environment clarification: