> For the complete documentation index, see [llms.txt](https://docs.liquidcommerce.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.liquidcommerce.cloud/services/checkout-api.md). Agents can also search and read this documentation through its [MCP server](https://docs.liquidcommerce.cloud/~gitbook/mcp).

# Checkout API

The LiquidCommerce Checkout API provides a secure, PCI-compliant transaction processing system optimized for beverage alcohol e-commerce

## Checkout API Overview

This API handles the final steps of the purchasing process, including payment processing, order creation, and confirmation.

### Key Features

* Secure payment processing
* Order creation and management
* Support for multiple payment methods
* Integration with cart and inventory systems
* PCI DSS compliant
* Real-time inventory checks
* Support for promotional codes and discounts

### Security and Compliance

The Checkout API is designed with security as a top priority:

* **PCI DSS Compliance**: Fully compliant with Payment Card Industry Data Security Standard, ensuring secure handling of payment information.
* **Tokenization**: Sensitive payment data is tokenized to minimize risk.
* **Encryption**: All data is encrypted in transit and at rest.
* **Fraud Detection**: Implements advanced fraud detection mechanisms.

## Authentication

Before using the API, you need to obtain an access token from the [Authentication API](https://docs.liquidcommerce.cloud/authentication-api-integration.md). Include this token in the `Authorization` header of all API requests:

```
Authorization: Bearer <YOUR_ACCESS_TOKEN>
```

## Error Handling

The API uses standard HTTP response codes to indicate the success or failure of requests. In case of an error, the response body will contain a JSON object with more details about the error.

Checkout complete uses strict error handling with specific status codes. [**Checkout Status Codes**](https://docs.liquidcommerce.cloud/events-and-errors/checkout-status-codes.md)

## Rate Limiting

The API is subject to rate limiting to ensure fair usage and maintain performance. If you exceed the rate limit, you'll receive a 429 (Too Many Requests) response.

## Support

Our dedicated support team is available to assist you with API integration and usage. For any questions or issues, please contact <solutions@liquidapp.co>.
