Access & Environments
GlobalPay provides two environments: Sandbox (test) and Production (live). Credentials for each are issued separately.
Getting credentials
Contact GlobalPay support:
Telegram: @Globalpay_merchants_support
Please provide:
- Company / project name
- Required environment (Sandbox / Production)
- Integration method (Checkout / Back2Back)
You will receive:
- Service ID — your service identifier
- OAuth Username — login for obtaining a token
- OAuth Password — password for obtaining a token
Environments
| Sandbox | Production | |
|---|---|---|
| API | https://api-dev.globalpay.uz | https://api.globalpay.uz |
| Checkout | https://checkout-dev.globalpay.uz | https://checkout.globalpay.uz |
| Real charges | ❌ No | ✅ Yes |
| Test cards | ✅ Yes | ❌ No |
| Credentials | Separate (Sandbox) | Separate (Production) |
warning
Never use Production credentials in the test environment and vice versa.
Access token
All API requests require a JWT token. Obtain it via:
POST /v1/merchant/auth
Content-Type: application/json
{
"username": "YOUR_USERNAME",
"password": "YOUR_PASSWORD"
}
The token is valid for 1 hour (expiresIn: 3600). To refresh without re-authenticating:
POST /v1/merchant/auth/refresh
Authorization: Bearer {refreshToken}
Include the token in every request header:
Authorization: Bearer {accessToken}
Switching to Production
When testing is complete:
- Request Production credentials from support
- Replace the base URL:
api-dev.globalpay.uz→api.globalpay.uz - Replace credentials with Production ones
- Make sure your website runs over HTTPS
- Process a control payment with a real card (small amount)