Sample - Stripe API
GET/v1/payment_method_configurations

List payment method configurations

Lists payment method configurations available to the authenticated user. Use active to filter configurations by whether they can be used for new payments and application to select configurations associated with a Connect application. Use cursor parameters and limit to paginate the results.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

6 parameters
activebooleanoptional
Filter configurations by whether they are active.
applicationstringoptional
Filter by the associated Connect application. Maximum 100 characters or an empty value.
ending_beforestringoptional
Pagination cursor identifying the configuration before which to return results. Maximum 5000 characters.
expandarray<string>optional
Fields to expand in each returned configuration; each expansion name can be no longer than 5000 characters.
limitintegeroptional
Maximum number of configurations to return. Must be between 1 and 100, and defaults to 10 when omitted.
starting_afterstringoptional
Pagination cursor identifying the configuration after which to return results. Maximum 5000 characters.

2 status codes
200Returns a paginated list of payment method configuration objects in `data`, with each configuration's active state, identifier, default state, name, and payment method settings, together with `has_more`, `object`, and `url`.
dataarray<PaymentMethodConfiguration>required
has_morebooleanrequired
True if this list has another page of items after this one that can be fetched.
objectstringrequired
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Allowed:list
urlstringrequired
The URL where this list can be accessed.
defaultError response.
errorobjectrequired

Error handling

limit must be between 1 and 100 and defaults to 10 when omitted. application must be no longer than 100 characters or an empty value, and each expand value must be no longer than 5000 characters. Use starting_after and ending_before as object-ID cursors when navigating pages.