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

# Initiate POS Transaction

> Create and send a transaction to a Flouci POS terminal from your external system.

This endpoint creates and sends a transaction to a POS terminal.

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST 'https://developers.flouci.com/partners/transactions/init_pos_transaction' \
    -H 'Authorization: Bearer <APP_PUBLIC>:<APP_SECRET>' \
    -H 'Content-Type: application/json' \
    -d '{
      "id_terminal": "terminal",
      "serial_number": "SN123456",
      "amount_in_millimes": 1000,
      "payment_method": "WALLET",
      "developer_tracking_id": "dev_track_123"
    }'
  ```
</RequestExample>

### Body

<ParamField body="id_terminal" type="string" required>
  Unique identifier of the POS terminal.
</ParamField>

<ParamField body="serial_number" type="string" required>
  Serial number of the POS terminal.
</ParamField>

<ParamField body="amount_in_millimes" type="integer" required>
  Transaction amount in millimes.
</ParamField>

<ParamField body="payment_method" type="string" required>
  Payment method (NFC, CARD, WALLET, CHECK).
</ParamField>

<ParamField body="developer_tracking_id" type="string" required>
  An ID for you to track the payment. This is a free field that Flouci doesn't check against
</ParamField>

<ParamField body="webhook" type="string">
  Webhook URL to notify transaction status.
</ParamField>

<ResponseExample>
  ```json 201 theme={null}
  {
    "success": true,
    "terminal_id": "terminal",
    "developer_tracking_id": "dev_track_123",
    "message": "Transaction initiated successfully",
    "status_code": 201
  }
  ```
</ResponseExample>
