# Checkout API

## 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](/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**](/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>.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.liquidcommerce.cloud/services/checkout-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
