Skip to main content

Overview

The Yuno Testing Gateway is a built-in simulated provider that allows you to test the full payment flow without configuring real provider credentials. It supports cards, PIX, bank transfers, and other payment methods in a controlled sandbox environment.
The Testing Gateway is available by default in all sandbox accounts. No additional configuration is required to start using it.

Supported Payment Methods

How It Works

1

Enable the Testing Gateway

Navigate to Dashboard > Connections in your sandbox environment. The Yuno Testing Gateway should appear as an available provider. If not enabled, toggle it on.
2

Set routing rules (optional)

By default, sandbox routes all transactions through the Testing Gateway. To test specific routing scenarios, configure rules in Dashboard > Routing Rules.
3

Send test transactions

Use test cards and the standard API flow. The Testing Gateway processes the transaction and returns simulated responses.
4

Verify results

Check the payment status in the API response or in Dashboard > Payments. The Testing Gateway provides realistic response structures matching real provider formats.

Simulating Specific Outcomes

The Testing Gateway determines the outcome based on the test card number used: For non-card methods (PIX, bank transfer), the Testing Gateway always returns a successful pending status with simulated payment details (QR codes, redirect URLs).

Testing Webhooks

The Testing Gateway triggers webhook events just like a real provider:
Some webhook event types may return 404 in sandbox. This is a known sandbox limitation. See Webhook Setup for details.

Limitations

  • The Testing Gateway is only available in sandbox environments
  • Response times are instant (does not simulate real provider latency)
  • Settlement and reconciliation flows are not simulated
  • Provider-specific error codes are generic simulations

Transitioning to Real Providers

When moving to production:
  1. Configure real provider credentials in Dashboard > Connections
  2. Update routing rules to point to production providers
  3. Switch API keys and base URL to production
  4. The Testing Gateway is not available in production