---
title: "Create card"
method: POST
path: "/card"
tags: ["Cards"]
---

# Create card

`POST /card`

Attach a credit card (tokenized via Stripe) to the current user.

## Request body

- object
  - `token` string, required — Stripe card token. Learn how to [create one here](https://docs.stripe.com/api/tokens/create_card).

## Response `200`

ID of the card.

- object
  - `data` string, required — ID of the card.

## Changes

- **2024-12-13** `43ff7af31b1e` — 1 breaking, 3 info
  - removed the required property `result` from the response with the `200` status
  - api operation id `postCard` was added
  - api tag `Cards` added
  - added the required property `data` to the response with the `200` status

[Change history](https://skmtc.dev/terminaldotshop/apis/terminal-api/changes/card/post.md)

---

[API](https://skmtc.dev/terminaldotshop/apis/terminal-api.md) · [All operations](https://skmtc.dev/terminaldotshop/apis/terminal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/terminaldotshop/terminal-api/revisions/2d657e4e5d6b/schema)
