# Get Cards

{% hint style="info" %}
How to get all saved cards for logged user
{% endhint %}

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

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

#### &#x20;Parameters

This API has no parameters.
{% endtab %}

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

```bash
{
  "status_code": 0,
  "body": [
    {
      "id": "card_xxxxxxxxxxxxxxxxxxxxxxxx",
      "brand": "Visa",
      "exp_month": 4,
      "exp_year": 2024,
      "last4": "4242",
      "default": true
    }
  ]
}
```

{% endtab %}
{% endtabs %}
