Environments
TurnStay provides two environments: Staging for testing and Production for live transactions.
Environment URLs
Section titled “Environment URLs”| Staging (test) | Production (live) | |
|---|---|---|
| Base URL | https://staging.turnstay.com | https://prod.turnstay.com |
| Payment pages | https://payment.staging.turnstay.com | https://payment.turnstay.com |
| API key prefix | sk_test_... | sk_live_... |
| Dashboard | staging.turnstay.com/dashboard | prod.turnstay.com/dashboard |
| Interactive docs | staging.turnstay.com/api/v1/public/docs | prod.turnstay.com/api/v1/public/docs |
Treasury service
Section titled “Treasury service”| Staging (test) | Production (live) | |
|---|---|---|
| Base URL | https://treasury.staging.turnstay.com | https://treasury.turnstay.com |
| Interactive docs | treasury.staging.turnstay.com/api/v1/public/docs | treasury.turnstay.com/api/v1/public/docs |
S2S environments (Payments)
Section titled “S2S environments (Payments)”| Staging | Production | |
|---|---|---|
| SCS URL | https://secure-card-service.pci-staging.turnstay.com | https://secure-card-service.pci.turnstay.com |
Switching to production
Section titled “Switching to production”Staging transactions use test data and no real money. When you’re ready:
- Swap the base URL:
staging.turnstay.com→prod.turnstay.com - Swap your API key:
sk_test_→sk_live_
No other code changes are needed.