# \<CustomerProfile />

This component will render the [Stripe Customer](https://stripe.com/docs/api/customers) profile informations in a panel.

It allows the customer to edit its own details, such as billing address, name, and tax ids.

### Visual

![](https://2415023427-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk0DAnFFM0rpMMriidbgN%2Fuploads%2FHyiwEvJrtVSvYVkFdo4T%2FScreenshot%202022-02-09%20at%2020.59.26.png?alt=media\&token=9dec934f-7624-424e-b401-63bb97dc8131) ![](https://2415023427-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk0DAnFFM0rpMMriidbgN%2Fuploads%2F7xT2qOuCj82VVHLFDMko%2FScreenshot%202022-02-09%20at%2021.06.27.png?alt=media\&token=7240a625-f00f-4d6d-97a4-11f9d17c2355)

### Import

```tsx
import { CustomerProfile } from "@billing-js/react-billing-js"
```

### Props

```tsx
interface Props {
    // allow users to transfer their subscription  
    // aka update the email address associated with their subscription
    // You will need to configure the Customer webhook to support this feature
    enableSubscriptionTransfer?: boolean // default false
}

```

{% hint style="info" %}
You will need to configure the [Customer webhook ](https://docs.billingjs.com/getting-started/configure-webhooks-and-triggers/customer-webhook)to support the subscription transfer feature&#x20;
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.billingjs.com/components/customer-portal/less-than-customerprofile-greater-than.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
