# About Try it

Learn how to effectively use the Try it feature in the Payments API documentation.
Use the **Try it** feature to send sample requests to API endpoints directly from the developer portal. In the **Mock (schema only)** environment, Try it returns schema-driven mock responses or pre-built example responses. In the **Production** environment, it sends the request to the live API and returns dynamic responses from your selected test property.

 - [Environment](https://developers.booking.com/connectivity/docs/openapispecs/payments-api/payments-api-specification/about-try-it/environment.md): ## Environment You can select between two different environments (top right corner in the UI): **Mock (schema only)** (default): - Helps to understand the response data schema - Recommended for all wr
 - [Request](https://developers.booking.com/connectivity/docs/openapispecs/payments-api/payments-api-specification/about-try-it/request.md): ## Request You can click on any unresolved placeholders to add a value or edit an existing placeholder value. The portal loads the default request body. Where the specification supports multiple reque
 - [Response](https://developers.booking.com/connectivity/docs/openapispecs/payments-api/payments-api-specification/about-try-it/response.md): ## Response After executing a request, you will see: - **Status code**: HTTP response status - **Response body**: JSON response data - **Headers**: Response headers
 - [Common issues](https://developers.booking.com/connectivity/docs/openapispecs/payments-api/payments-api-specification/about-try-it/common-issues.md): ## Common issues - **401 Unauthorized**: Check your credentials - **403 Forbidden**: Verify access permissions - **404 Not Found**: Confirm the reservation ID exists - **410 Gone**: The checkout date
