GET
/
v1
/
payments
/
customers
/
:customerId
/
payment-methods
curl https://api.geldstuck.com/v1/payments/customers/cus_01HX3ZR.../payment-methods \
  -H "x-api-key: $GELDSTUCK_PUBLIC_KEY" \
  -H "x-api-secret: $GELDSTUCK_SECRET_KEY"
{
  "data": [
    {
      "id": "pm_01HX3ZS...",
      "type": "card",
      "card": { "brand": "visa", "last4": "4242", "expMonth": 12, "expYear": 2030 },
      "isDefault": true
    }
  ]
}

Path parameters

customerId
string
required

Returns

data
array
Payment method objects with card metadata (brand, last4, expiry) - no full PAN.
curl https://api.geldstuck.com/v1/payments/customers/cus_01HX3ZR.../payment-methods \
  -H "x-api-key: $GELDSTUCK_PUBLIC_KEY" \
  -H "x-api-secret: $GELDSTUCK_SECRET_KEY"
{
  "data": [
    {
      "id": "pm_01HX3ZS...",
      "type": "card",
      "card": { "brand": "visa", "last4": "4242", "expMonth": 12, "expYear": 2030 },
      "isDefault": true
    }
  ]
}