---
title: "Adds credit card for this user"
method: POST
path: "/stripe-gateway/user/{userId}/cards"
tags: ["stripe-gateway : Process payments and refunds "]
---

# Adds credit card for this user

`POST /stripe-gateway/user/{userId}/cards`

- Results are returned for the market provided within the basic authentication credentials

## Path parameters

- `userId` string, required

## Query parameters

- `token` string, required
- `isDefault` boolean

## Response `default`

OK

## Other responses

- `400` — Bad Request - Required parameters are missing, malformed or invalid
- `412` — Precondition Failed - Payments must be enabled and 'Stripe' must be selected as the gateway in order to use this API endpoint

---

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