Skip to content
myela

The cards saved for one customer, default first. Saves the first card id, so 02 · Payments can charge it without you copying anything.

List saved cards

GET/v1/payment_methodsLink

The cards saved for one customer, default first. Saves the first card id, so 02 · Payments can charge it without you copying anything.

SandboxSecret keypaymentMethods.list

Request fields

Edit a field and the generated request updates immediately.

Query parameters
stringrequired

The customer that owns or receives this resource.

Optional fields1
integeroptional

Maximum number of results to return. Defaults to 10 and cannot exceed 100.

Response contract

The successful wire shape and errors an integration should branch on.

200

List of payment method objects

application/json
idstringrequired
Unique payment-method identifier.
object"payment_method"required
Stable resource discriminator.
customerIdstringrequired
Customer that owns this method.
brandstringrequired
Card brand.
last4stringrequired
Last four digits only.
expMonthintegerrequired
Expiration month.
expYearintegerrequired
Four-digit expiration year.
isDefaultbooleanrequired
Whether this is the customer default.
createdAtstringrequired
ISO 8601 creation timestamp.
Example response
{
  "object": "list",
  "data": [
    {
      "id": "pm_01JEXAMPLE",
      "object": "payment_method",
      "customerId": "cus_01JEXAMPLE",
      "brand": "visa",
      "last4": "4242",
      "expMonth": 12,
      "expYear": 2030,
      "isDefault": true,
      "createdAt": "2026-08-10T20:49:51.653Z"
    }
  ],
  "hasMore": false
}
Error responses
401authentication_failed

The key is missing, malformed, revoked, or invalid for this environment.

403permission_denied

The key does not have paymentMethods.list.

422invalid_request

One or more request fields are invalid.