nuxt-x-app-admin
Stripe Customers Detail
Stripe customer detail with configurable tabs for Subscriptions / Invoices / Payment Methods.
Stripe Customers Detail
Stripe customer detail with configurable tabs for Subscriptions / Invoices / Payment Methods.
Components
<XAdminStripeCustomersDetail />
Props, events, and behaviour reflect the actual <script setup> of XAdmin/Stripe/Customers/Detail.vue in @xenterprises/nuxt-x-app-admin.
<XAdminStripeCustomersDetail />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
customer | Object | null | Pre-fetched customer object. If provided, customerId is ignored for the fetch. |
customerId | String | '' | ID used to fetch the customer when customer is not provided. |
endpoint | String | 'admin/stripe/customers' | API endpoint for the customer fetch. |
showSubscriptions | Boolean | true | Show the Subscriptions tab. |
showInvoices | Boolean | true | Show the Invoices tab. |
showPaymentMethods | Boolean | true | Show the Payment Methods tab. |
Emits
| Event | Payload | Description |
|---|---|---|
subscription-action | varies | Fired on a subscription action (Customers). |
invoice-action | varies | Fired on an invoice action inside subscription detail. |
payment-method-action | varies | Fired on a payment-method action. |
view-in-stripe | varies | Fired when 'View in Stripe' is clicked (Customers). |
AI Context
component: XAdminStripeCustomersDetail
package: "@xenterprises/nuxt-x-app-admin"
category: Stripe
source: app/components/XAdmin/Stripe/Customers/Detail.vue
use-when: Stripe customer detail with configurable tabs for Subscriptions / Invoices / Payment Methods.
