nuxt-x-app-admin
Stripe Payment Methods
Payment method list with brand icons, expiry display, and set-default / remove actions.
Stripe Payment Methods
Payment method list with brand icons, expiry display, and set-default / remove actions.
Components
<XAdminStripePaymentMethods />
Props, events, and behaviour reflect the actual <script setup> of XAdmin/Stripe/PaymentMethods/index.vue in @xenterprises/nuxt-x-app-admin.
<XAdminStripePaymentMethods />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
endpoint | String | 'admin/stripe/payment-methods' | API endpoint for the payment-method list. |
showView | Boolean | true | Show 'View' action. |
showSetDefault | Boolean | true | Show 'Set default' action. |
showRemove | Boolean | true | Show 'Remove' action. |
customerId | String | '' | Scope to one customer. |
paginated | Boolean | true | Enable client-side pagination. |
pageSize | Number | 20 | Items per page. |
Emits
| Event | Payload | Description |
|---|---|---|
view | varies | Fired on 'View' action. |
set-default | varies | Fired when 'Set default' is confirmed. |
remove | varies | Fired when 'Remove' is confirmed. |
row-click | varies | Fired on row click. |
AI Context
component: XAdminStripePaymentMethods
package: "@xenterprises/nuxt-x-app-admin"
category: Stripe
source: app/components/XAdmin/Stripe/PaymentMethods/index.vue
use-when: Payment method list with brand icons, expiry display, and set-default / remove actions.
