---
title: "Create a Token (Card)"
method: POST
path: "/"
---

# Create a Token (Card)

`POST /`

## Request

- Base URL: `https://api.tap.company/v2/tokens`
- URL: `https://api.tap.company/v2/tokens/`
- Auth: API key in header `Authorization`

This endpoint creates a single-use token that securely contains the details of a credit card.

## Request body

- object
  - `card` object: Card object. Ensure that your business account has the access to use this API.
    - `number` integer: Credit card number
    - `exp_month` integer: Two -digit number, representing month
    - `exp_year` integer: Last two digits of the expiration year
    - `cvc` integer: Card verification code
    - `name` string: Card holder Name
    - `address` object: Address
      - `country` string: County
      - `line1` string: Address Line 1
      - `city` string: City
      - `street` string: Street
      - `avenue` string: Avenue
  - `client_ip` string: The IP Address of the client.

## Response `200`

200

- object
  - `id` string
  - `created` integer
  - `object` string
  - `live_mode` boolean
  - `type` string
  - `used` boolean
  - `card` object
    - `id` string
    - `object` string
    - `address` object
      - `country` string
      - `city` string
      - `avenue` string
      - `street` string
      - `line1` string
    - `funding` string
    - `fingerprint` string
    - `brand` string
    - `scheme` string
    - `name` string
    - `issuer` object
      - `bank` string
      - `country` string
      - `id` string
    - `exp_month` integer
    - `exp_year` integer
    - `last_four` string
    - `first_six` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/tap/apis/tokens.md) - [All operations](https://skmtc.dev/tap/apis/tokens/llms.txt) - [OpenAPI document](https://skmtc.dev/tap/apis/tokens/revisions/909b784ec7bf?raw)
