list payment methods

This block is part of the stripe group and was last modified in core v15.0.0.

list payment methods v15.0.0

The cards and mandates a customer has saved, for a "pay with a card on file" screen. Each entry carries a label so a picker can be rendered without digging through the nested object.

In pins 4 + flow
  • flow
    flow
  • connection required
    stripeconnection
  • customer id required
    value
  • type
    value

    Restrict to one method type, e.g. card. Leave empty for everything the customer has saved. • Suggestions: card sepa_debit ideal bancontact paypal

  • limit
    number

    Default 10, maximum 100.

Out pins 7 + flow
  • flow
    flow
  • connection
    stripeconnection
  • payment methods
    array<object>

    Each entry is Stripe's payment method object plus a label field.

  • count
    number
  • success
    condition
  • error
    value

    Stripe's own message, or a sentinel like MISSING_SESSION_ID for a problem in the wiring.

  • error code
    value

    Stripe's machine-readable code, e.g. card_declined, resource_missing.

  • decline code
    value

    Why the bank refused, e.g. insufficient_funds. Only set on a declined card.

saved cards
cards on file
payment methods

Version history

Introduced in v15.0.0.

Service documentation

External API reference This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.
Back to stripe Return to the main group to view all sub-groups Back to payments Return to the group to view all blocks within this group