---
title: "Testing for Payment API"
source_url: https://docs.rapyd.net/en/testing-for-payment-api.html
lang: en
---

# Testing for Payment API

The payments platform provides a sandbox environment where you can test your code's interaction with the platform.

The sandbox has a few features that are not present in the production environment. These features are designed to help you test your code.

Just like the production environment, the sandbox generates webhooks. To receive webhooks from the sandbox, use the procedure described in [Defining a Webhook Endpoint](https://docs.rapyd.net/en/defining-a-webhook-endpoint.md "Defining a Webhook Endpoint").

The following sections describe testing capabilities of the payments platform.

How-To Procedures

- [Error Simulation](https://docs.rapyd.net/en/error-simulation.md "Error Simulation")
- [Card Numbers for Testing](https://docs.rapyd.net/en/card-numbers-for-testing.md "Card Numbers for Testing")
- [Simulating 3DS Authentication](https://docs.rapyd.net/en/simulating-3ds-authentication.md "Simulating 3DS Authentication")
- [Simulating 'Create Payment' with 3DS - API](https://docs.rapyd.net/en/simulating--create-payment--with-3ds---api.md "Simulating 'Create Payment' with 3DS - API")
- [Simulating 'Create Hosted Page' With 3DS Authentication](https://docs.rapyd.net/en/simulating--create-hosted-page--with-3ds-authentication.md "Simulating 'Create Hosted Page' With 3DS Authentication")
- [Simulating Rapyd Verify Application Responses](https://docs.rapyd.net/en/simulating-rapyd-verify-application-responses.md "Simulating Rapyd Verify Application Responses")
- [Simulating Cardholder Disputes](https://docs.rapyd.net/en/simulating-cardholder-disputes.md "Simulating Cardholder Disputes")
- [Simulated Errors](https://docs.rapyd.net/en/simulated-errors.md "Simulated Errors")
