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

# TRANSACTION_CLEARED

> Fired when an authorized transaction settles. The charge is final and permanent.

<Warning>
  **Deprecated** — superseded by [`TRANSACTION_PROCESSED`](/v3.20/webhooks/events/transaction-processed)
  (`status: COMPLETED`). Still delivered to existing subscribers, so no migration is
  required. New integrations should subscribe to `TRANSACTION_PROCESSED`.
</Warning>

Fires when a previously authorized transaction is settled by the merchant. The charge is now permanent. The `relatedTransactionId` links back to the original `TRANSACTION_AUTHORIZED` event.

## Event Type

```
TRANSACTION_CLEARED
```

## Payload

```json theme={null}
{
  "event":       "TRANSACTION_CLEARED",
  "eventId":     "evt_01HXY123456ABCDEF",
  "businessId":  "BUS1A2B3C4D5E6F",
  "environment": "LIVE",
  "timestamp":   "2026-05-22T12:00:00Z",
  "data": {
    "transactionId":        "txn_01HXYZ7777ABCDEF9999",
    "cardId":               "crd_01HXYZ5555ABCDEF1111",
    "cardholderId":         "chl_01HXYZ1234ABCDEF5678",
    "externalId":           "my-user-id-789",
    "type":                 "CLEARING",
    "status":               "APPROVED",
    "amount":               29.99,
    "currency":             "USD",
    "billingAmount":        29.99,
    "billingCurrency":      "USD",
    "merchant": {
      "name":           "Amazon",
      "id":             "AMZN_MERCHANT_001",
      "city":           "Seattle",
      "country":        "US",
      "mcc":            "5999",
      "mccDescription": "Miscellaneous General Merchandise"
    }
  }
}
```

## Payload Fields

| Field           | Type   | Description                                                                                                            |
| --------------- | ------ | ---------------------------------------------------------------------------------------------------------------------- |
| `transactionId` | string | Unique transaction ID for this clearing event                                                                          |
| `type`          | string | Always `CLEARING` for this event                                                                                       |
| `status`        | string | `APPROVED` for normal settlements; `REVERSED` if the clearing was reversed by the merchant before settlement completed |
| `amount`        | number | Final settled amount in dollars — may differ slightly from the authorization amount                                    |

All other fields are the same as `TRANSACTION_AUTHORIZED`. See [Transaction Events](/v3.20/webhooks/events/transaction-events) for the full field reference.

<RequestExample>
  ```json Webhook Payload theme={null}
  {
    "event":       "TRANSACTION_CLEARED",
    "eventId":     "evt_01HXY123456ABCDEF",
    "businessId":  "BUS1A2B3C4D5E6F",
    "environment": "LIVE",
    "timestamp":   "2026-05-22T12:00:00Z",
    "data": {
      "transactionId":        "txn_01HXYZ7777ABCDEF9999",
      "cardId":               "crd_01HXYZ5555ABCDEF1111",
      "cardholderId":         "chl_01HXYZ1234ABCDEF5678",
      "externalId":           "my-user-id-789",
      "type":                 "CLEARING",
      "status":               "APPROVED",
      "amount":               29.99,
      "currency":             "USD",
      "billingAmount":        29.99,
      "billingCurrency":      "USD",
      "merchant": {
        "name":           "Amazon",
        "id":             "AMZN_MERCHANT_001",
        "city":           "Seattle",
        "country":        "US",
        "mcc":            "5999",
        "mccDescription": "Miscellaneous General Merchandise"
      }
    }
  }
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {}
  ```
</ResponseExample>


## OpenAPI

````yaml v3.20/openapi.json webhook TRANSACTION_CLEARED
openapi: 3.1.0
info:
  title: FYATU CaaS API v3.20
  description: >-
    FYATU Cards-as-a-Service API â€” API key authentication, Cardholder
    lifecycle, Card issuance, Transactions, Webhooks, and Programs.
  version: 3.20.0
  contact:
    name: FYATU Support
    url: https://fyatu.com
    email: support@fyatu.com
servers:
  - url: https://api.fyatu.com/api/v3.20
    description: >-
      FYATU CaaS API â€” the environment (LIVE or SANDBOX) is determined by the
      API key, not the URL
security:
  - BearerAuth: []
tags:
  - name: Meta
    description: Liveness, account info, and supported event types
  - name: Account
    description: Account-level balance and funding status
  - name: Programs
    description: Read card program configuration
  - name: Cardholders
    description: Create and manage cardholder profiles
  - name: Cards
    description: Issue, fund, freeze, and terminate virtual cards
  - name: Transactions
    description: Read-only card transaction history
  - name: Webhooks
    description: Manage webhook endpoints for real-time event delivery
  - name: Products
    description: Read card product configurations
paths: {}
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key from the FYATU CaaS portal. Pass as `Authorization: Bearer
        <key>`.

````