cURL
curl --request GET \ --url https://api.tensormesh.ai/v1/billing/stripe/customers/payment-methods \ --header 'Authorization: Bearer <token>'
{ "stripePaymentMethodIds": [ "<string>" ], "paymentMethods": [ { "stripePaymentMethodId": "<string>", "type": "STRIPE_PAYMENT_METHOD_TYPE_UNSPECIFIED", "brand": "<string>", "last4": "<string>", "expMonth": 123, "expYear": 123, "isDefault": true } ] }
Lists a user’s attached payment methods.
Bearer authentication using an access token. Format: Bearer <access_token>
The unique ID of the user.
A successful response.
ListStripePaymentMethodsResponse is the response listing payment methods.
Payment method IDs.
Payment method details.
Show child attributes