> ## 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.

# Create Patient Stripe Credit Card V2

> Documentation for the Create Patient Stripe Credit Card V2 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**

**Stripe Customer Detail Array Index** `int64`

This field maps to the destination API `-1..n stripe_customer_detail array index (defaults to 0), -1 will create a new card` field.

**Stripe Token** `string` *required*

This field maps to the destination API `token` field.

**Is Default** `bool`

This field maps to the destination API `is_default` field.

```json Result Object Example theme={null}
{
  "$result_object_key": {
    "customer_id": "123456",
    "stripe_customer_id": "cus_12345"
  }
}
```

```json Result Object Description theme={null}
{
  "$result_object_key": {
    "customer_id": "The unique identifier of the customer detail object",
    "stripe_customer_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`.

**StripeCustomerDetail** `Fetch Action Response Object`

**fields**

**customer\_id** `string` *required*

The unique identifier of the customer detail object

```json CEL theme={null}
$result_object_key.customer_id
```

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

**stripe\_customer\_id** `string` *required*

The ID of the client (in Stripe)

```json CEL theme={null}
$result_object_key.stripe_customer_id
```

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


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