GET /v1/customers/{customer}/payment_methods
Returns a list of PaymentMethods for a given Customer
Servers
- https://api.stripe.com/
Path parameters
Name | Type | Required | Description |
---|---|---|---|
customer |
String | Yes |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/x-www-form-urlencoded" |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
limit |
Integer | No |
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
starting_after |
String | No |
A cursor for use in pagination. |
expand[] |
Array | No |
Specifies which fields in the response should be expanded. |
allow_redisplay |
String | No |
This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. Possible values:
|
type |
String | No |
An optional filter on the list, based on the object Possible values:
|
ending_before |
String | No |
A cursor for use in pagination. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.