Skip to main content

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​

SandboxProduction
APIhttps://api-dev.globalpay.uzhttps://api.globalpay.uz
Checkouthttps://checkout-dev.globalpay.uzhttps://checkout.globalpay.uz
Real charges❌ No✅ Yes
Test cards✅ Yes❌ No
CredentialsSeparate (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:

  1. Request Production credentials from support
  2. Replace the base URL: api-dev.globalpay.uz → api.globalpay.uz
  3. Replace credentials with Production ones
  4. Make sure your website runs over HTTPS
  5. Process a control payment with a real card (small amount)