Sandbox vs. Production ๐๏ธ
Direct Payment API
Same API, same endpoints, same JSON โ the only things that change are the data and the stakes.
What actually changes between environments?โ
| Sandbox | Production | |
|---|---|---|
| Purpose | Integration development and certification | Live processing |
| Gateway base URL | https://sandbox-api.paystrax.com | ๐งถ https://api.paystrax.com (to confirm with Paystrax) |
| Card data | Test PANs in requests (see Testing & Sandbox Data) | Tokenised card references only |
| Money | Test only | Real funds |
| API contract | Same endpoints and JSON for all environments | Same endpoints and JSON for all environments |
Can you create your own test transactions?โ
Yes. Each POST /payments in the sandbox creates a real request against the sandbox stack โ you control the amount, currency, and flow type, with none of the consequences of production.