Lithic Tokenization API

The Tokenization API from Lithic — 13 operation(s) for tokenization.

OpenAPI Specification

lithic-tokenization-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  contact:
    email: support@lithic.com
  description: 'The Lithic Developer API is designed to provide a predictable programmatic interface for accessing your Lithic account through an API and transaction webhooks.

    Note that your API key is a secret and should be treated as such. Don''t share it with anyone, including us. We will never ask you for it.

    '
  termsOfService: https://lithic.com/legal/terms
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.txt
  title: Lithic Developer 3DS Tokenization API
  version: 1.0.0
servers:
- description: Sandbox environment that provides key functionality mirroring production
  url: https://sandbox.lithic.com
security:
- ApiKeyAuth: []
tags:
- name: Tokenization
paths:
  /v1/digital_card_art:
    get:
      description: List digital card art.
      operationId: getDigitalCardArt
      parameters:
      - $ref: '#/components/parameters/endingBefore'
      - $ref: '#/components/parameters/pageSize'
      - $ref: '#/components/parameters/startingAfter'
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    items:
                      $ref: '#/components/schemas/DigitalCardArt'
                    type: array
                  has_more:
                    description: More data exists.
                    type: boolean
                required:
                - data
                - has_more
                type: object
          description: OK
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      summary: List digital card art
      tags:
      - Tokenization
  /v1/digital_card_art/{digital_card_art_token}:
    get:
      description: Get digital card art by token.
      operationId: getDigitalCardArtByToken
      parameters:
      - description: Specifies the digital card art to be displayed in the user’s digital wallet after tokenization. This artwork must be approved by Mastercard and configured by Lithic to use. See [Flexible Card Art Guide](https://docs.lithic.com/docs/about-digital-wallets#flexible-card-art).
        in: path
        name: digital_card_art_token
        required: true
        schema:
          format: uuid
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DigitalCardArt'
          description: OK
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      summary: Get digital card art by token
      tags:
      - Tokenization
  /v1/simulate/tokenizations:
    post:
      description: 'This endpoint is used to simulate a card''s tokenization in the Digital Wallet and merchant tokenization ecosystem.

        '
      operationId: postSimulateTokenizations
      requestBody:
        content:
          application/json:
            examples:
              simulateTokenizations:
                summary: Simulates a card's tokenization
                value:
                  account_score: 5
                  cvv: '776'
                  device_score: 5
                  expiration_date: 08/29
                  pan: '4111111289144142'
                  tokenization_source: APPLE_PAY
                  wallet_recommended_decision: APPROVED
            schema:
              properties:
                account_score:
                  default: 5
                  description: The account score (1-5) that represents how the Digital Wallet's view on how reputable an end user's account is.
                  type: integer
                cvv:
                  description: The three digit cvv for the card.
                  example: '776'
                  maxLength: 3
                  minLength: 3
                  type: string
                device_score:
                  default: 5
                  description: The device score (1-5) that represents how the Digital Wallet's view on how reputable an end user's device is.
                  type: integer
                entity:
                  description: Optional field to specify the token requestor name for a merchant token simulation. Ignored when tokenization_source is not MERCHANT.
                  type: string
                expiration_date:
                  description: The expiration date of the card in 'MM/YY' format.
                  maxLength: 5
                  minLength: 5
                  type: string
                pan:
                  description: The sixteen digit card number.
                  example: '4111111289144142'
                  maxLength: 16
                  minLength: 16
                  type: string
                tokenization_source:
                  description: The source of the tokenization request.
                  enum:
                  - APPLE_PAY
                  - GOOGLE
                  - SAMSUNG_PAY
                  - MERCHANT
                  type: string
                wallet_recommended_decision:
                  default: APPROVED
                  description: The decision that the Digital Wallet's recommend
                  enum:
                  - APPROVED
                  - DECLINED
                  - REQUIRE_ADDITIONAL_AUTHENTICATION
                  type: string
              required:
              - cvv
              - expiration_date
              - pan
              - tokenization_source
              type: object
        required: true
      responses:
        '201':
          content:
            application/json:
              example:
                account_token: 61c3acef-3c2c-4d61-9352-941397b92ca3
                card_token: 16a410c9-7f5c-43e9-8108-bb8a72c063f7
                created_at: '2023-08-28T15:57:14.578051'
                events:
                - created_at: '2023-09-13T16:01:13.643241'
                  result: TOKEN_ACTIVATED
                  token: a690b617-d3d4-4976-82f6-901f817ad98a
                  type: TOKENIZATION_UPDATED
                - created_at: '2023-09-13T16:01:13.643241'
                  result: APPROVED
                  token: 2b2a1038-45f3-42e4-98bb-e745be3f1de1
                  type: TOKENIZATION_AUTHORIZATION
                status: ACTIVE
                token: 3e9a10da-11be-4a62-a510-d43548bfcec1
                tokenization_channel: DIGITAL_WALLET
                token_requestor_name: APPLE_PAY
                token_unique_reference: DM4MMC0000332872ef1029f38fa0184b5c9260383da192b22
                dpan: '5489123487251234'
                payment_account_reference_id: 50019T0AL7DEFGJ4AGGT8BQDOABCD
                updated_at: '2023-08-28T15:57:14.578051'
              schema:
                $ref: '#/components/schemas/tokenization'
          description: OK
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      summary: Simulate a card's tokenization
      tags:
      - Tokenization
  /v1/tokenization_decisioning/secret:
    get:
      description: 'Retrieve the Tokenization Decisioning secret key. If one does not exist your program yet, calling this endpoint will create one for you. The headers of the Tokenization Decisioning request will contain a hmac signature which you can use to verify requests originate from Lithic. See [this page](https://docs.lithic.com/docs/events-api#verifying-webhooks) for more detail about verifying Tokenization Decisioning requests.

        '
      operationId: getTokenizationDecisioningSecret
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  secret:
                    description: The Tokenization Decisioning HMAC secret
                    example: whsec_1NDsYinMGr951KuDEaj78VtWzlyPaOnwUVagFiWIPJs=
                    type: string
                type: object
          description: OK
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      summary: Retrieve the Tokenization Decisioning HMAC secret key
      tags:
      - Tokenization
  /v1/tokenization_decisioning/secret/rotate:
    post:
      description: 'Generate a new Tokenization Decisioning secret key. The old Tokenization Decisioning secret key will be deactivated 24 hours after a successful request to this endpoint.

        '
      operationId: rotateTokenizationDecisioningSecret
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  secret:
                    description: The new Tokenization Decisioning HMAC secret
                    example: whsec_1NDsYinMGr951KuDEaj78VtWzlyPaOnwUVagFiWIPJs=
                    type: string
                type: object
          description: OK
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      summary: Rotate the Tokenization Decisioning HMAC secret key
      tags:
      - Tokenization
  /v1/tokenizations:
    get:
      description: List card tokenizations
      operationId: getTokenizations
      parameters:
      - description: Filters for tokenizations associated with a specific account.
        in: query
        name: account_token
        schema:
          format: uuid
          type: string
      - description: Filter for tokenizations created after this date.
        in: query
        name: begin
        schema:
          format: date
          type: string
      - description: Filters for tokenizations associated with a specific card.
        in: query
        name: card_token
        schema:
          format: uuid
          type: string
      - description: Filter for tokenizations created before this date.
        in: query
        name: end
        schema:
          format: date
          type: string
      - description: Filter for tokenizations by tokenization channel. If this is not specified, only DIGITAL_WALLET tokenizations will be returned.
        in: query
        name: tokenization_channel
        schema:
          enum:
          - DIGITAL_WALLET
          - MERCHANT
          - ALL
          type: string
      - $ref: '#/components/parameters/endingBefore'
      - $ref: '#/components/parameters/pageSize'
      - $ref: '#/components/parameters/startingAfter'
      responses:
        '200':
          content:
            application/json:
              example:
                data:
                - account_token: 61c3acef-3c2c-4d61-9352-941397b92ca3
                  card_token: 16a410c9-7f5c-43e9-8108-bb8a72c063f7
                  created_at: '2023-08-28T15:57:14.578051'
                  events:
                  - created_at: '2023-09-13T16:01:13.643241'
                    result: TOKEN_ACTIVATED
                    token: a690b617-d3d4-4976-82f6-901f817ad98a
                    type: TOKENIZATION_UPDATED
                  - created_at: '2023-09-13T16:01:13.643241'
                    result: APPROVED
                    token: 2b2a1038-45f3-42e4-98bb-e745be3f1de1
                    type: TOKENIZATION_AUTHORIZATION
                    tokenization_decline_reasons: []
                    tokenization_tfa_reasons: []
                    rule_results: []
                  status: ACTIVE
                  token: 3e9a10da-11be-4a62-a510-d43548bfcec1
                  token_requestor_name: APPLE_PAY
                  token_unique_reference: DM4MMC0000332872ef1029f38fa0184b5c9260383da192b22
                  tokenization_channel: DIGITAL_WALLET
                  dpan: '5489123487251234'
                  device_id: ba6f05c312d4a5789b2e04f05c1f9d3b81GJ4AG1
                  payment_account_reference_id: 50019T0AL7DEFGJ4AGGT8BQDOABCD
                  updated_at: '2023-08-28T15:57:14.578051'
                has_more: false
              schema:
                properties:
                  data:
                    items:
                      $ref: '#/components/schemas/tokenization'
                    type: array
                  has_more:
                    type: boolean
                type: object
          description: OK
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      summary: Get a card's tokenizations
      tags:
      - Tokenization
  /v1/tokenizations/{tokenization_token}:
    get:
      description: Get tokenization
      operationId: getTokenization
      parameters:
      - description: Tokenization token
        in: path
        name: tokenization_token
        required: true
        schema:
          format: uuid
          type: string
      responses:
        '200':
          content:
            application/json:
              example:
                account_token: 61c3acef-3c2c-4d61-9352-941397b92ca3
                card_token: 16a410c9-7f5c-43e9-8108-bb8a72c063f7
                created_at: '2023-08-28T15:57:14.578051'
                events:
                - created_at: '2023-09-13T16:01:13.643241'
                  result: TOKEN_ACTIVATED
                  token: a690b617-d3d4-4976-82f6-901f817ad98a
                  type: TOKENIZATION_UPDATED
                - created_at: '2023-09-13T16:01:13.643241'
                  result: APPROVED
                  token: 2b2a1038-45f3-42e4-98bb-e745be3f1de1
                  type: TOKENIZATION_AUTHORIZATION
                  tokenization_decline_reasons: []
                  tokenization_tfa_reasons: []
                  rule_results: []
                status: ACTIVE
                token: 3e9a10da-11be-4a62-a510-d43548bfcec1
                token_requestor_name: APPLE_PAY
                token_unique_reference: DM4MMC0000332872ef1029f38fa0184b5c9260383da192b22
                tokenization_channel: DIGITAL_WALLET
                dpan: '5489123487251234'
                device_id: ba6f05c312d4a5789b2e04f05c1f9d3b81GJ4AG1
                payment_account_reference_id: 50019T0AL7DEFGJ4AGGT8BQDOABCD
                updated_at: '2023-08-28T15:57:14.578051'
              schema:
                $ref: '#/components/schemas/tokenization'
          description: OK
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      summary: Get a single card tokenization
      tags:
      - Tokenization
  /v1/tokenizations/{tokenization_token}/pause:
    post:
      description: 'This endpoint is used to ask the card network to pause a tokenization. A successful response indicates that the request was successfully delivered to the card network. When the card network pauses the tokenization, the state will be updated and a tokenization.updated event will be sent. The endpoint may only be used on tokenizations with status `ACTIVE`.

        A paused token will prevent merchants from sending authorizations, and is a temporary status that can be changed.

        Reach out at [lithic.com/contact](https://lithic.com/contact) for more information.'
      operationId: pauseTokenization
      parameters:
      - description: Tokenization token
        in: path
        name: tokenization_token
        required: true
        schema:
          format: uuid
          type: string
      responses:
        '200':
          content: {}
          description: Pause tokenization request successfully delivered to the card network.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      summary: Pause a card tokenization
      tags:
      - Tokenization
  /v1/tokenizations/{tokenization_token}/unpause:
    post:
      description: 'This endpoint is used to ask the card network to unpause a tokenization. A successful response indicates that the request was successfully delivered to the card network. When the card network unpauses the tokenization, the state will be updated and a tokenization.updated event will be sent. The endpoint may only be used on tokenizations with status `PAUSED`.

        This will put the tokenization in an active state, and transactions may resume.

        Reach out at [lithic.com/contact](https://lithic.com/contact) for more information.'
      operationId: unpauseTokenization
      parameters:
      - description: Tokenization token
        in: path
        name: tokenization_token
        required: true
        schema:
          format: uuid
          type: string
      responses:
        '200':
          content: {}
          description: Unpause tokenization request successfully delivered to the card network.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      summary: Unpause a card tokenization
      tags:
      - Tokenization
  /v1/tokenizations/{tokenization_token}/deactivate:
    post:
      description: 'This endpoint is used to ask the card network to deactivate a tokenization. A successful response indicates that the request was successfully delivered to the card network. When the card network deactivates the tokenization, the state will be updated and a tokenization.updated event will be sent.

        Authorizations attempted with a deactivated tokenization will be blocked and will not be forwarded to Lithic from the network. Deactivating the token is a permanent operation. If the target is a digital wallet tokenization, it will be removed from its device.

        Reach out at [lithic.com/contact](https://lithic.com/contact) for more information.'
      operationId: deactivateTokenization
      parameters:
      - description: Tokenization token
        in: path
        name: tokenization_token
        required: true
        schema:
          format: uuid
          type: string
      responses:
        '200':
          content: {}
          description: Deactivate tokenization request successfully delivered to the card network.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      summary: Deactivate a card tokenization
      tags:
      - Tokenization
  /v1/tokenizations/{tokenization_token}/activate:
    post:
      description: 'This endpoint is used to ask the card network to activate a tokenization. A successful response indicates that the request was successfully delivered to the card network. When the card network activates the tokenization, the state will be updated and a tokenization.updated event will be sent. The endpoint may only be used on digital wallet tokenizations with status `INACTIVE`, `PENDING_ACTIVATION`, or `PENDING_2FA`.

        This will put the tokenization in an active state, and transactions will be allowed.

        Reach out at [lithic.com/contact](https://lithic.com/contact) for more information.'
      operationId: activateTokenization
      parameters:
      - description: Tokenization token
        in: path
        name: tokenization_token
        required: true
        schema:
          format: uuid
          type: string
      responses:
        '200':
          content: {}
          description: Activate tokenization request successfully delivered to the card network.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      summary: Activate a card tokenization
      tags:
      - Tokenization
  /v1/tokenizations/{tokenization_token}/resend_activation_code:
    post:
      description: 'This endpoint is used to ask the card network to send another activation code to a cardholder that has already tried tokenizing a card. A successful response indicates that the request was successfully delivered to the card network.

        The endpoint may only be used on Mastercard digital wallet tokenizations with status `INACTIVE`, `PENDING_ACTIVATION`, or `PENDING_2FA`. The network will send a new activation code to the one of the contact methods provided in the initial tokenization flow. If a user fails to enter the code correctly 3 times, the contact method will not be eligible for resending the activation code, and the cardholder must restart the provision process.

        Reach out at [lithic.com/contact](https://lithic.com/contact) for more information.'
      operationId: resendActivationCodeForTokenization
      parameters:
      - description: Tokenization token
        in: path
        name: tokenization_token
        required: true
        schema:
          format: uuid
          type: string
      requestBody:
        content:
          application/json:
            examples:
              resendActivationCodeSms:
                summary: Resend activation code to SMS contact method
                value:
                  activation_method_type: TEXT_TO_CARDHOLDER_NUMBER
            schema:
              properties:
                activation_method_type:
                  description: 'The communication method that the user has selected to use to receive the authentication code.

                    Supported Values: Sms = "TEXT_TO_CARDHOLDER_NUMBER". Email = "EMAIL_TO_CARDHOLDER_ADDRESS"'
                  enum:
                  - EMAIL_TO_CARDHOLDER_ADDRESS
                  - TEXT_TO_CARDHOLDER_NUMBER
                  type: string
      responses:
        '200':
          content: {}
          description: Resend activation code request successfully delivered to the card network.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      summary: Resend activation code for a card tokenization
      tags:
      - Tokenization
  /v1/tokenizations/{tokenization_token}/update_digital_card_art:
    post:
      description: 'This endpoint is used update the digital card art for a digital wallet tokenization. A successful response indicates that the card network has updated the tokenization''s art, and the tokenization''s `digital_cart_art_token` field was updated.

        The endpoint may not be used on tokenizations with status `DEACTIVATED`.

        Note that this updates the art for one specific tokenization, not all tokenizations for a card. New tokenizations for a card will be created with the art referenced in the card object''s `digital_card_art_token` field.

        Reach out at [lithic.com/contact](https://lithic.com/contact) for more information.'
      operationId: updateDigitalCardArtForTokenization
      parameters:
      - description: Tokenization token
        in: path
        name: tokenization_token
        required: true
        schema:
          format: uuid
          type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                digital_card_art_token:
                  description: Specifies the digital card art to be displayed in the user’s digital wallet for a tokenization. This artwork must be approved by the network and configured by Lithic to use. See [Flexible Card Art Guide](https://docs.lithic.com/docs/about-digital-wallets#flexible-card-art).
                  example: 5e9483eb-8103-4e16-9794-2106111b2eca
                  format: uuid
                  type: string
      responses:
        '200':
          content:
            application/json:
              example:
                account_token: 61c3acef-3c2c-4d61-9352-941397b92ca3
                card_token: 16a410c9-7f5c-43e9-8108-bb8a72c063f7
                created_at: '2023-08-28T15:57:14.578051'
                digital_card_art_token: 0ca42d08-12ae-4bc6-bd00-787e6df53cff
                events:
                - created_at: '2023-09-13T16:01:13.643241'
                  result: TOKEN_ACTIVATED
                  token: a690b617-d3d4-4976-82f6-901f817ad98a
                  type: TOKENIZATION_UPDATED
                - created_at: '2023-09-13T16:01:13.643241'
                  result: APPROVED
                  token: 2b2a1038-45f3-42e4-98bb-e745be3f1de1
                  type: TOKENIZATION_AUTHORIZATION
                status: ACTIVE
                token: 3e9a10da-11be-4a62-a510-d43548bfcec1
                token_requestor_name: APPLE_PAY
                token_unique_reference: DM4MMC0000332872ef1029f38fa0184b5c9260383da192b22
                dpan: '5489123487251234'
                device_id: ba6f05c312d4a5789b2e04f05c1f9d3b81GJ4AG1
                payment_account_reference_id: 50019T0AL7DEFGJ4AGGT8BQDOABCD
                updated_at: '2023-08-28T15:57:14.578051'
                tokenization_channel: DIGITAL_WALLET
              schema:
                $ref: '#/components/schemas/tokenization'
          description: Card art successfully updated at the network and Lithic levels.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      summary: Update digital card art for a card tokenization
      tags:
      - Tokenization
components:
  schemas:
    tokenization-event:
      title: Tokenization Event
      properties:
        created_at:
          description: Date and time when the tokenization event first occurred. UTC time zone.
          format: date-time
          type: string
        result:
          $ref: '#/components/schemas/tokenization-event-outcome'
        token:
          description: Globally unique identifier for a Tokenization Event
          format: uuid
          type: string
        type:
          description: Enum representing the type of tokenization event that occurred
          enum:
          - TOKENIZATION_2FA
          - TOKENIZATION_AUTHORIZATION
          - TOKENIZATION_DECISIONING
          - TOKENIZATION_ELIGIBILITY_CHECK
          - TOKENIZATION_UPDATED
          type: string
        tokenization_decline_reasons:
          description: List of reasons why the tokenization was declined
          type: array
          items:
            $ref: '#/components/schemas/tokenization-decline-reason'
        tokenization_tfa_reasons:
          description: List of reasons why two-factor authentication was required
          type: array
          items:
            $ref: '#/components/schemas/tokenization-tfa-reason'
        rule_results:
          description: Results from rules that were evaluated for this tokenization
          type: array
          items:
            $ref: '#/components/schemas/tokenization-rule-result'
    error:
      type: object
      properties:
        debugging_request_id:
          type: string
          format: uuid
          description: Identifier to help debug an error.
        message:
          type: string
          description: Explanation of error response.
      required:
      - debugging_request_id
      - message
    tokenization-event-outcome:
      title: Tokenization Event Outcome
      description: Enum representing the result of the tokenization event
      type: string
      enum:
      - APPROVED
      - DECLINED
      - NOTIFICATION_DELIVERED
      - REQUIRE_ADDITIONAL_AUTHENTICATION
      - TOKEN_ACTIVATED
      - TOKEN_CREATED
      - TOKEN_DEACTIVATED
      - TOKEN_DELETED_FROM_CONSUMER_APP
      - TOKEN_INACTIVE
      - TOKEN_STATE_UNKNOWN
      - TOKEN_SUSPENDED
      - TOKEN_UPDATED
    tokenization:
      title: Tokenization
      properties:
        account_token:
          description: The account token associated with the card being tokenized.
          format: uuid
          type: string
        card_token:
          description: The card token associated with the card being tokenized.
          format: uuid
          type: string
        created_at:
          description: Date and time when the tokenization first occurred. UTC time zone.
          format: date-time
          type: string
        device_id:
          description: The device identifier associated with the tokenization.
          type:
          - string
          - 'null'
        digital_card_art_token:
          description: Specifies the digital card art displayed in the user's digital wallet after tokenization. This will be null if the tokenization was created without an associated digital card art. See [Flexible Card Art Guide](https://docs.lithic.com/docs/about-digital-wallets#flexible-card-art).
          format: uuid
          type:
          - string
          - 'null'
        events:
          description: A list of events related to the tokenization.
          items:
            $ref: '#/components/schemas/tokenization-event'
          type: array
        status:
          description: The status of the tokenization request
          enum:
          - ACTIVE
          - DEACTIVATED
          - INACTIVE
          - PAUSED
          - PENDING_2FA
          - PENDING_ACTIVATION
          - UNKNOWN
          type: string
        token:
          description: Globally unique identifier for a Tokenization
          format: uuid
          type: string
        token_requestor_name:
          description: The entity that requested the tokenization. For digital wallets, this will be one of the defined wallet types. For merchant tokenizations, this will be a free-form merchant name string.
          anyOf:
          - title: Digital wallet type
            description: Digital wallet type
            enum:
            - AMAZON_ONE
            - ANDROID_PAY
            - APPLE_PAY
            - FACEBOOK
            - FITBIT_PAY
            - GARMIN_PAY
            - GOOGLE_PAY
            - MICROSOFT_PAY
            - NETFLIX
            - SAMSUNG_PAY
            - UNKNOWN
            - VISA_CHECKOUT
            type: string
          - title: Merchant name
            description: Merchant name for merchant tokenizations
            type: string
        token_unique_reference:
          description: The network's unique reference for the tokenization.
          type: string
        dpan:
          description: The dynamic pan assigned to the token by the network.
          type:
          - string
          - 'null'
        payment_account_reference_id:
          description: The network's unique reference for the card that is tokenized.
          type:
          - string
          - 'null'
        tokenization_channel:
          description: The channel through which the tokenization was made.
          enum:
          - DIGITAL_WALLET
          - MERCHAN

# --- truncated at 32 KB (38 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/lithic/refs/heads/main/openapi/lithic-tokenization-api-openapi.yml