ListMethods​List​Methods

List all PaymentMethods for a customer.

This task retrieves all PaymentMethods (cards, bank accounts, etc.) attached to a given Stripe Customer.

yaml
type: "io.kestra.plugin.stripe.payment.ListMethods"

List all cards for a customer

yaml
id: list_pms
namespace: company.team

tasks:
  - id: list_pms
    type: io.kestra.plugin.stripe.payment.ListMethods
    apiKey: "{{ secret('STRIPE_API_KEY') }}"
    customerId: cus_123
    type: card
Properties

Stripe API Key

Secret key for authenticating with Stripe. Starts with 'sk_' for live/test keys.

Customer ID

PaymentMethod types to list (card, sepa_debit, etc.)

Customer ID

SubType string

List of PaymentMethod IDs

Raw JSON returned by Stripe