PayEnviro Developer Environment

Develop. Integrate. Test. Launch with Confidence.

Explore the PayEnviro Sandbox and prepare your payment integration in a dedicated testing environment before moving to production. Develop your workflows and validate your implementation without affecting real customer payments.

  • Development-focused testing
  • Integration validation
  • Production preparation
Sandbox Environment TEST MODE

Environment overview

EnvironmentSandbox
PurposeDevelopment & Testing
PaymentsGateway test accounts
API keypx_test_…
API addressapi.payenviro.com
A sandbox application takes only test keys and works with your gateways’ test accounts, so no real money moves.
Test before production Validate integration workflows Prepare your application

Sandbox capabilities

A controlled space for payment integration testing

Prepare your application and review important payment workflows before enabling your production integration.

01

Test Environment

Work in a designated testing environment to develop and validate your integration without initiating live payments.

02

API Integration

Prepare API requests, review response handling and connect your application to the configured testing environment.

03

Payment Scenarios

Validate supported payment outcomes, including successful and unsuccessful test transactions.

04

Webhook Validation

Prepare your application to receive and handle configured payment event notifications.

05

Subscription Workflows

Review recurring billing and subscription-related integration flows where supported by your test configuration.

06

Production Preparation

Review your integration, configuration and application readiness before requesting production onboarding.

Getting started

Your journey from setup to testing

Follow these steps to prepare your PayEnviro integration. Access and configuration details are provided during onboarding.

01

Request Access

Contact the PayEnviro team to discuss your integration requirements and request sandbox access.

02

Configure Environment

Set up the designated test environment and configure the credentials provided for your application.

03

Build & Test

Connect your application, validate supported API workflows and review the responses.

04

Prepare for Production

Complete integration checks and coordinate production onboarding with the PayEnviro team.

Testing scenarios

Validate the workflows your application depends on

Use the test cases supported by your assigned sandbox configuration to review your application's behaviour.

✓

Successful Payment

Check how your application handles a successful test payment response.

!

Failed Payment

Review error handling and the customer experience when a test payment fails.

↻

Retry and Recovery

Validate the retry and recovery behaviour supported by your integration.

↗

Webhook Handling

Check how your application receives and processes configured event notifications.

₹

Billing and Invoices

Review applicable billing and invoice workflows in the test environment.

↔

Subscription Events

Validate supported subscription lifecycle and recurring billing scenarios.

Developer resources

Prepare your application for integration

Use the API documentation and environment details supplied by PayEnviro to configure your application and validate its communication with the test environment.

✓Environment configuration — use the designated sandbox base URL.
✓Authentication — configure the test credentials provided to you.
✓Request validation — review request parameters and API responses.
✓Event handling — prepare your application for supported webhook events.
Request API Documentation →
Integration configuration exampleENVIRONMENT
# Example configuration for a sandbox application.
# Issue the test key in the console under
# Portals & applications.

PAYENVIRO_ENV=sandbox

PAYENVIRO_BASE_URL=https://api.payenviro.com

PAYENVIRO_API_KEY=px_test_YOUR_TEST_KEY

# Send it as: Authorization: ApiKey <key>

# Keep credentials secure.
# Do not expose secret keys in
# browser-side JavaScript.

Before going live

Review your integration readiness

Use this checklist as a starting point before coordinating your production onboarding.

Make your integration production-ready

Complete the relevant checks for your application and confirm any production requirements with the PayEnviro team.

  • Sandbox credentials configured securely
  • API requests and responses validated
  • Payment success and failure handling reviewed
  • Webhook processing tested
  • Error handling and retry logic reviewed
  • Production configuration reviewed separately

Frequently asked questions

Sandbox questions, answered

A few things to know before starting your integration.

What is the PayEnviro Sandbox?

A sandbox application in your PayEnviro account. It uses the same API at api.payenviro.com with a test key (px_test_…) and your gateways’ test accounts, so you can build and test the whole flow before going live.

Does Sandbox process real payments?

No. A sandbox application only works with your gateways’ test accounts, so nothing is collected or settled.

How can I get Sandbox access?

Contact the PayEnviro team to discuss your requirements and obtain the appropriate access and configuration details.

Can I use my production API credentials?

No. Test keys start with px_test_ and belong to sandbox applications; live keys start with px_live_ and belong to live applications. Keep secret keys on your server, never in browser code.

Can I test failed payments and webhooks?

Yes. Use your gateway’s test cards and UPI IDs for successful and failed payments; PayEnviro sends the same signed webhooks to your endpoint. Mark a customer as a test customer to move their date ahead and see renewals, retries and dunning at once.

How do I move from Sandbox to Production?

Connect your live gateway accounts, promote the application to LIVE in the console, issue a live key (px_live_…) and switch your configuration. Talk to the PayEnviro team if you would like a review first.

Ready to simplify your payment operations?

Get started with PayEnviro. Explore the platform, connect your payment gateways, and manage payments, subscriptions and invoices from one place. Our team is here to help you get started.