ListMethods
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"Examples
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
apiKey *Requiredstring
Stripe API Key
Secret key for authenticating with Stripe. Starts with 'sk_' for live/test keys.
customerId *Requiredstring
Customer ID
paymentMethodType *Requiredstring
PaymentMethod types to list (card, sepa_debit, etc.)
Outputs
customerId string
Customer ID
paymentMethodIds array
 SubType string
List of PaymentMethod IDs
raw string
Raw JSON returned by Stripe