> For the complete documentation index, see [llms.txt](https://docs.mburger.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mburger.cloud/api-docs-1/integrations-extensions/stripe/create-card.md).

# Create Card

{% hint style="info" %}
How to create a new Stripe card
{% endhint %}

The new card will be set as the default payment method automatically by Stripe

{% tabs %}
{% tab title="Request" %}
`POST https://mburger.cloud/api/cards`

```bash
curl https://mburger.cloud/api/cards
-X POST
-H "Accept: application/json" 
-H "X-MBurger-Token: <token>" 
-H "X-MBurger-Version: 3"
-H "Authorization: Bearer <JWT>"
```

#### &#x20;Parameters

| Name         | Type   | Required | Description                       |
| ------------ | ------ | -------- | --------------------------------- |
| token        | string | Yes      | Token provided by the Stripe SDK. |
| {% endtab %} |        |          |                                   |

{% tab title="Response" %}
When successful, a HTTP 200 and JSON like this is returned:

```bash
{
  "status_code": 0
}
```

{% endtab %}
{% endtabs %}
