Skip to main content

Environments

Environments​

Use matching hosts and credentials per environment. Do not mix sandbox credentials with production hosts.

EnvironmentIdentity URLAPI Base URLNotes
Sandboxhttps://sandbox-identity.paywise.cohttps://sandbox-api.paywise.coUse for development, test users, and integration validation.
Productionhttps://identity.paywise.cohttps://api.paywise.coUse only after go-live approval and production key issuance.

How to choose quickly (ELI5)​

  1. Building and testing? Use sandbox Identity + sandbox API.
  2. Going live with real users? Use production Identity + production API.
  3. 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.
  • 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​