Stripe
StripePaymentMethods
Payment method list for a Stripe customer in admin billing management.
StripePaymentMethods
Renders a list of a customer's saved Stripe payment methods (cards, bank accounts) with card brand icons, last-four digits, expiry, and default indicator.
Components
<XAdminStripePaymentMethods />
Displays all payment methods on file for a Stripe customer with the ability to set default or detach a payment method.
<XAdminStripePaymentMethods :customerId="customerId" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
customerId | string | — | Stripe customer ID |
endpoint | string | '/api/admin/stripe/payment-methods' | API endpoint for payment methods |
loading | boolean | false | Show loading skeleton |
allowDetach | boolean | true | Show detach action per payment method |
allowSetDefault | boolean | true | Show set-as-default action |
AI Context
component: XAdminStripePaymentMethods
package: "@xenterprises/nuxt-x-app-admin"
category: Stripe
use-when: Displaying and managing a customer's saved payment methods in an admin billing panel
