---
title: "Tokenize a Credit Card"
method: POST
path: "/v3/tokenization"
tags: ["Tokenization"]
---

# Tokenize a Credit Card

`POST /v3/tokenization`

Creates a secure token for a credit card along with payer data. Optionally performs a micro-deposit validation to verify the card's validity.

## Headers

- `Content-Type` string, required
- `X-Date` string, date-time, required
- `X-Login` string, required
- `Authorization` string, required
- `X-Idempotency-Key` string

## Request body

- object
  - `credit_card` object, required
    - `holder_name` string, required — Name of the cardholder as it appears on the card
    - `expiration_month` integer, required — Expiration month (1-12)
    - `expiration_year` integer, required — Expiration year (YYYY format)
    - `number` string, required — Complete card number without spaces
    - `cvv` string, required — Card security code (3-4 digits)
  - `payer` object, required
    - `country` string, required — Country ISO code (2 characters)
    - `first_name` string, required — Payer's first name
    - `last_name` string, required — Payer's last name
    - `document_type` string, required — Type of identity document (e.g., DNI, CPF, PASSPORT)
    - `document` string, required — Identity document number
  - `micro_deposit_enabled` boolean — When true (default), performs a micro-deposit to validate the card

## Response `200`

Successful operation

- object
  - `holder_name` string — Cardholder name
  - `expiration_month` integer — Expiration month
  - `expiration_year` integer — Expiration year
  - `last_four_digits` string — Last four digits of the card
  - `card_identifier` string — Unique card identifier (token) for future transactions

## Other responses

- `401` — Unauthorized access

---

[API](https://skmtc.dev/d24/apis/docs-d24-com.md) · [All operations](https://skmtc.dev/d24/apis/docs-d24-com/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/d24/docs-d24-com/revisions/fb0e2ddec198/schema)
