> ## Documentation Index
> Fetch the complete documentation index at: https://docs.morf.health/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Stripe Customer Details

> Documentation for the Get Stripe Customer Details action for Healthie

![images/healthie.svg](https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/healthie.svg?fit=max\&auto=format\&n=EU2WCxuXGIUQcziR\&q=85\&s=d168a24dbae69f2202ca63dd7aa2e1f3)

# Parameters

**Action** `Parameters`

**parameters**

**Patient ID** `string`

`ID`
This field maps to the destination API `user_id` field.

```json Result Object Example theme={null}
{
  "$result_object_key": [
    {
      "card_type": "Visa",
      "card_type_label": "personal",
      "expiration": "2025-12-31",
      "id": "123456",
      "last_four": "1234",
      "stripe_id": "cus_123456789"
    }
  ]
}
```

```json Result Object Description theme={null}
{
  "$result_object_key": [
    {
      "card_type": "The brand of the card",
      "card_type_label": "The type of card indicated by the user. Defaults to personal, Options are 'hsa', 'fsa', and 'personal'",
      "expiration": "The expiration date of the card",
      "id": "The unique identifier of the customer detail object",
      "last_four": "The last 4 digits of the credit card",
      "stripe_id": "The ID of the client (in Stripe)"
    }
  ]
}
```

### Result Object Field Details

You can use the result of the action's data as inputs to downstream workflow actions.

Each fetch action requires an object name, which nests the action's result data inside the downstream data context in the workflow. See [Passing Data Between Actions](https://docs.morf.health/docs/knowledge_base/passing_data_between_actions.md) for how to set it and reference the result from downstream nodes.

Here we demonstrate how to refer to this data using the prefix `$result_object_key`.

**\[]StripeCustomerDetails** `Fetch Action Response Object`

**fields**

**card\_type** `string`

The brand of the card

```json CEL theme={null}
$result_object_key[*].card_type
```

```json Example theme={null}
"Visa"
```

**card\_type\_label** `string`

The type of card indicated by the user. Defaults to personal, Options are 'hsa', 'fsa', and 'personal'

```json CEL theme={null}
$result_object_key[*].card_type_label
```

```json Example theme={null}
"personal"
```

**expiration** `values.v1.Date`

The expiration date of the card

```json CEL theme={null}
$result_object_key[*].expiration
```

```json Example theme={null}
"2025-12-31"
```

**last\_four** `string`

The last 4 digits of the credit card

```json CEL theme={null}
$result_object_key[*].last_four
```

```json Example theme={null}
"1234"
```

**stripe\_id** `string`

The ID of the client (in Stripe)

```json CEL theme={null}
$result_object_key[*].stripe_id
```

```json Example theme={null}
"cus_123456789"
```

**id** `string` *required*

The unique identifier of the customer detail object

```json CEL theme={null}
$result_object_key[*].id
```

```json Example theme={null}
"123456"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.