> ## Documentation Index
> Fetch the complete documentation index at: https://dev.fbox.uz/llms.txt
> Use this file to discover all available pages before exploring further.

# Click Overview

> Click payment initiation and fiscalization APIs

## Overview

The **Click API** provides a complete workflow for processing Click payments,
starting from payment initiation to fiscalization and receipt generation.

The integration is split into two logical stages:

1. **Click Pass** – initiates a payment request using a QR code and amount.
2. **Fiscalization** – confirms the completed payment and registers it with the tax system.

This separation ensures flexibility, reliability, and compliance with fiscal regulations.

***

## General Setup

All Click endpoints share these common settings:

* **Status code:** `200`/`400`/`500`
* **Method:** `POST`
* **Auth required:** `No`
* **Content-Type:** `application/json`

> **Note:** Even in case of validation, payment, or fiscalization errors, the API returns HTTP `200`.

* Always check `is_success` and `HTTP status code` to determine if the request succeeded.
* `data` contains the payload on success; `error` contains details on failure.

***

## Payment Flow

The typical Click payment flow looks like this:

1. The client initiates a payment using **Click Pass API**
2. Click processes the payment and returns a `payment_id`
3. After successful payment, the transaction is **fiscalized**
4. A fiscal receipt is generated and registered in the Soliq system

Each step has its own endpoint and responsibility.

***

## Click APIs

Use the sections below to explore each part of the Click integration in detail.

<Columns cols={2}>
  <Card title="Click Pass" icon="credit-card" href="/api-reference/endpoint/payment/click/pass">
    Initiate Click payments by sending the payment amount and QR code.
    Returns a payment identifier used for further processing.
  </Card>

  <Card title="Fiscalization" icon="receipt" href="/api-reference/endpoint/payment/click/fiscalization">
    Confirm and fiscalize completed Click payments.
    Registers the transaction and generates a fiscal receipt.
  </Card>
</Columns>

***

## Environment

All endpoints are currently available via the following base URL:
