v41

latestOpenAPI 3.1.0raw.githubusercontent.com2025-08-053715199.1 KB
Card

Create card

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

post/card

Request body

tokenstring required

Stripe card token. Learn how to create one here.

Example request

{
  "token": "tok_1N3T00LkdIwHu7ixt44h1F8k"
}

Response

ID of the card.

datastring required

ID of the card.

Example response

{
  "data": "crd_XXXXXXXXXXXXXXXXXXXXXXXXX"
}