> ## 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.

# CARD_TERMINATION_REFUND

> Fired when a terminated card's remaining balance is refunded back to your program.

Fires when a card is terminated and its remaining prefunded balance is returned to your program balance.

The `reference` is the provider transaction id — unique per refund — so use it as your idempotency key.

## Event Type

```
CARD_TERMINATION_REFUND
```

## Payload

```json theme={null}
{
  "event":       "CARD_TERMINATION_REFUND",
  "eventId":     "evt_01HXY123456ABCDEF",
  "businessId":  "BUS1A2B3C4D5E6F",
  "environment": "LIVE",
  "timestamp":   "2026-07-08T09:00:00Z",
  "data": {
    "cardId":       "crd_01HXYZ5555ABCDEF1111",
    "cardholderId": "chd_01HXYZ1111ABCDEF0000",
    "amount":       12.50,
    "currency":     "USD",
    "reference":    "9f1e6b31f6fd010a6e8bdd317e8579",
    "timestamp":    "2026-07-08T09:00:00Z"
  }
}
```

## Payload Fields

| Field          | Type   | Description                                                                 |
| -------------- | ------ | --------------------------------------------------------------------------- |
| `cardId`       | string | The terminated card ID                                                      |
| `cardholderId` | string | The cardholder the card belonged to                                         |
| `amount`       | number | Refunded amount, credited to your program balance                           |
| `currency`     | string | ISO-4217 currency of the refund                                             |
| `reference`    | string | Provider transaction id — unique per refund; use it as your idempotency key |
| `timestamp`    | string | ISO 8601 time the refund was processed                                      |

## Common Use Cases

* Reconcile the returned balance against your program ledger
* Log the refund for audit purposes, keyed on `reference`

<Note>
  Deduplicate on `reference`. A webhook retry re-delivers the same `reference`; a genuinely
  new refund always carries a new one.
</Note>

<RequestExample>
  ```json CARD_TERMINATION_REFUND theme={null}
  {
    "event":       "CARD_TERMINATION_REFUND",
    "eventId":     "evt_01HXY123456ABCDEF",
    "businessId":  "BUS1A2B3C4D5E6F",
    "environment": "LIVE",
    "timestamp":   "2026-07-08T09:00:00Z",
    "data": {
      "cardId":       "crd_01HXYZ5555ABCDEF1111",
      "cardholderId": "chd_01HXYZ1111ABCDEF0000",
      "amount":       12.50,
      "currency":     "USD",
      "reference":    "9f1e6b31f6fd010a6e8bdd317e8579",
      "timestamp":    "2026-07-08T09:00:00Z"
    }
  }
  ```
</RequestExample>

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


## OpenAPI

````yaml v3.20/openapi.json webhook CARD_TERMINATION_REFUND
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>`.

````