> For the complete documentation index, see [llms.txt](https://plexo.gitbook.io/rest-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://plexo.gitbook.io/rest-api/operations/testing.md).

# Testing

Use the testing environment to validate your integration before processing real payments. The pages below cover environments, credentials, payment flows, callbacks, and test data. Use the API and domain guides for complete schemas.

{% hint style="warning" %}
Use testing credentials and test cards only with `https://api.testing.plexo.com.uy`. Keep API credentials on your backend and never place them in browser code, mobile apps, or public repositories.
{% endhint %}

## Testing workflow

1. Select the correct [API environment](/rest-api/getting-started/environments.md).
2. Obtain and configure [testing credentials](/rest-api/operations/testing/test-credentials.md).
3. Choose a scenario from the [test cards reference](/rest-api/operations/testing/test-cards.md), when your flow uses cards.
4. Run the matching [payment flow](/rest-api/operations/testing/payment-flows.md) and handle any asynchronous updates.
5. Exercise [failure, duplicate, and concurrency scenarios](/rest-api/operations/testing/test-scenarios.md).
6. Complete the [go-live checklist](/rest-api/operations/testing/going-live.md) before switching to production.

## Testing guides

* [Testing environments](/rest-api/operations/testing/testing-environments.md)
* [Test credentials](/rest-api/operations/testing/test-credentials.md)
* [Test cards](/rest-api/operations/testing/test-cards.md)
* [Mock processor](/rest-api/operations/testing/mock-processor.md)
* [Cybersource 3DS test matrix](/rest-api/operations/testing/cybersource-3ds.md)
* [Payment flows](/rest-api/operations/testing/payment-flows.md)
* [Callback testing](/rest-api/operations/testing/callback-testing.md)
* [Test scenarios](/rest-api/operations/testing/test-scenarios.md)
* [Test data and automation](/rest-api/operations/testing/test-data-and-automation.md)
* [Going live checklist](/rest-api/operations/testing/going-live.md)

## Test payment outcomes

Use the [Mock Processor guide](/rest-api/operations/testing/mock-processor.md) to simulate payment outcomes with `mock_v2`.

Use the [Cybersource 3DS test matrix](/rest-api/operations/testing/cybersource-3ds.md) to test authentication results with Cybersource.

## Related resources

* [Authentication](/rest-api/getting-started/authentication.md)
* [Callbacks Guide](/rest-api/operations/callbacks.md)
* [3D Secure Integration Guide](/rest-api/payments/3ds-integration.md)
* [Tokenization Guide](/rest-api/customers-and-saved-methods/tokenization-guide.md)
* [Payment Processing Guide](/rest-api/payments/payment-processing.md)
* [Error Codes Reference](/rest-api/reference/error-codes.md)
