Skip to main content
YuvexPay provides two environments that share the same API URL but behave differently based on your credentials.

Sandbox vs. production

FeatureSandboxProduction
API URLhttps://api.yuvexpay.comhttps://api.yuvexpay.com
Access token prefixypt_ypt_
client_secret prefixsk_sandbox_sk_prod_
Real moneyNoYes
WebhooksSimulatedReal events
Rate limitsSame as productionPer-account limits
Both environments use the same API URL. The environment is determined by the credentials used to generate your access token.

Using sandbox

Create sandbox API credentials in the dashboard under Settings > API Credentials and select the Sandbox environment. Sandbox mode simulates the full payment lifecycle:
  • Payments are created with real-looking data.
  • Status transitions (PROCESSING, PAID, EXPIRED) are simulated.
  • Webhooks fire with simulated events.
  • No real money is moved.
Use sandbox to test your entire integration flow, including webhook handling and error scenarios, before switching to production.

Going live

When you’re ready to accept real payments:
  1. Create production API credentials in the dashboard.
  2. Replace your client_id and client_secret with the production values.
  3. Verify your webhook endpoints handle production events correctly.
  4. Generate a production token and start processing real transactions.
Production transactions involve real money. Ensure your error handling and idempotency logic is thoroughly tested in sandbox before going live.