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

# 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.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `429` — Too Many Requests
- `500` — Internal Server Error

## Changes

- **2025-03-19** `1c6726b12e29` — 4 breaking, 24 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `400`
  - the response's body type/format changed from ``/`` to `object`/`` for status `401`
  - the response's body type/format changed from ``/`` to `object`/`` for status `429`
  - the response's body type/format changed from ``/`` to `object`/`` for status `500`
  - …24 more
- **2025-03-07** `979a6c40552c` — 4 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`
- **2024-12-16** `56a8a6f18e6c` — 1 info
  - endpoint added
- **2024-12-16** `021e5a9aa9e2` — 1 breaking
  - api path removed without deprecation
- **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/84ef614abb97/schema)
