# Production readiness checklist

**Verify that your Demand API integration is fully prepared for production. Follow this checklist to ensure proper authentication, environment setup, caching, testing, and monitoring before going live.**

---

Before going live with your Demand API integration, make sure that your implementation meets the following requirements.

Completing this checklist helps ensure stability, compliance, and a smooth experience for travellers.

## Authentication and access

✓ **Use production credentials.**
Confirm that your production `X-Affiliate-Id` and authentication tokens are correctly configured.

✓ **Secure all sensitive data.**
Never expose API credentials in client-side code or public repositories.

✓ **Handle expired or invalid tokens gracefully.**
Implement retry or re-authentication logic according to the [Authentication guide](/demand/docs/development-guide/authentication).

See [Authentication guide](/demand/docs/development-guide/authentication) for more details.

---

## Environment configuration

✓ **Switch endpoints to the production environment.**
Update any base URLs or environment variables used for sandbox.

✓ **Validate configuration per travel service.**
Ensure endpoints for each active travel service accommodations, cars or attractions are correctly set up.

✓ **Monitor request volume.**
Verify that your system can handle expected live traffic and respects [Demand API rate limits](/demand/docs/development-guide/rate-limiting).

---

## Data management

✓ **Implement local caching for static data.**
Use the recommended caching approach described in [Static data and caching](/demand/docs/development-guide/application-flows/content-only#store-static-data-locally).

✓ **Never store dynamic data.**
Do not store prices or availability, as these change frequently.

✓ **Ensure proper data refresh logic.**
Schedule updates for content and reference data to keep your cache accurate.

---

## Functional testing

✓ **Test your integration flow.**
Verify your selected integration flow for each supported travel service.

✓ **Validate error handling.**
Confirm that your integration correctly manages expected errors (for example, `400`, `403`, or `409`) as described in [Error handling](/demand/docs/support/error-handling/about-errors).

✓ **Check edge cases.**
Simulate cases such as unavailable inventory, invalid payment methods, or expired sessions.

---

## Payments and orders

✓ **Confirm payment flows.**
Test payment method handling and timing using [/orders/preview](/demand/docs/open-api/demand-api/orders/orders/preview) and [/orders/create](/demand/docs/open-api/demand-api/orders/orders/create).

✓ **Verify order management.**
Make sure your integration can retrieve, modify, and cancel orders through [/orders/details/*](/demand/docs/orders-api/order-details/), [/orders/modify](/demand/docs/open-api/demand-api/orders/orders/modify), and [/orders/cancel](/demand/docs/open-api/demand-api/orders/orders/cancel).

See [Testing payments guide](/demand/docs/payments/how-to#testing-your-integration) for more details.

---

## Monitoring and maintenance

✓ **Implement logging and alerting.**
Capture API errors, response times, and other operational metrics for early issue detection.

✓ **Track API usage.**
Regularly review your usage reports to identify anomalies or rate limit issues.

✓ **Stay up to date.**
Monitor the [Changelog](/demand/docs/whats-new/changelog) for updates, deprecations, and new features.

---

Once you have successfully completed this checklist and validated your integration in sandbox (when possible), contact your Booking.com Account manager to request access to the production environment.
