---
title: "Create Token"
method: POST
path: "/tokens"
tags: ["Tokens"]
---

# Create Token

`POST /tokens`

Generate a payment token, to associate it with a card, Endpoint could be use directly only for PCI compliance account

## Headers

- `Accept-Language` 'es' | 'en'

## Request body

- TokenRequest — a token
  - `card` TokenRequestCard, nullable
    - `cvc` string, required — It is a value that allows identifying the security code of the card.
    - `device_fingerprint` string — It is a value that allows identifying the device fingerprint.
    - `exp_month` string, required — It is a value that allows identifying the expiration month of the card.
    - `exp_year` string, required — It is a value that allows identifying the expiration year of the card.
    - `name` string, required — It is a value that allows identifying the name of the cardholder.
    - `number` string, required — It is a value that allows identifying the number of the card.
  - `checkout` TokenRequestCheckout, nullable
    - `returns_control_on` string — It is a value that allows identifying the returns control on.

## Response `200`

successful operation

## Other responses

- `401` — authentication error
- `422` — parameter validation error
- `500` — internal server error

---

[API](https://skmtc.net/conekta/apis/conekta-api.md) · [All operations](https://skmtc.net/conekta/apis/conekta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conekta/conekta-api/revisions/029df3052bca/schema)
