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

> Fired when a tokenization code is generated for adding the card to Apple Pay or Google Pay.

Fires when a tokenization code is generated — typically when the cardholder adds their card to Apple Pay or Google Pay. Deliver the code to the cardholder to complete the wallet provisioning flow.

## Event Type

```
CARD_TOKENIZATION_OTP
```

## Payload

```json theme={null}
{
  "event":       "CARD_TOKENIZATION_OTP",
  "eventId":     "evt_01HXY123456ABCDEF",
  "businessId":  "BUS1A2B3C4D5E6F",
  "environment": "LIVE",
  "timestamp":   "2026-05-22T10:00:00Z",
  "data": {
    "cardId":    "crd_01HXYZ5555ABCDEF1111",
    "code":      "513847",
    "type":      "WALLET_CODE",
    "timestamp": "2026-05-22T10:00:00Z"
  }
}
```

## Payload Fields

| Field       | Type   | Description                              |
| ----------- | ------ | ---------------------------------------- |
| `cardId`    | string | The card being added to a digital wallet |
| `code`      | string | The one-time tokenization code           |
| `type`      | string | Always `WALLET_CODE` for this event      |
| `timestamp` | string | ISO 8601 timestamp                       |

For the full event group documentation see [Card Events](/v3.20/webhooks/events/card-events).

<RequestExample>
  ```json Webhook Payload theme={null}
  {
    "event":       "CARD_TOKENIZATION_OTP",
    "eventId":     "evt_01HXY123456ABCDEF",
    "businessId":  "BUS1A2B3C4D5E6F",
    "environment": "LIVE",
    "timestamp":   "2026-05-22T10:00:00Z",
    "data": {
      "cardId":    "crd_01HXYZ5555ABCDEF1111",
      "code":      "513847",
      "type":      "WALLET_CODE",
      "timestamp": "2026-05-22T10:00:00Z"
    }
  }
  ```
</RequestExample>

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


## OpenAPI

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

````