Skip to main content

Headers

Authorization
string
required
Bearer token from OTP verification
Format: Bearer {jwt_token}
X-API-Key
string
required
Storefront API key for authentication
[
  {
    "id": "pm_1234567890abcdef",
    "object": "payment_method",
    "type": "card",
    "card": {
      "brand": "visa",
      "last4": "4242",
      "exp_month": 12,
      "exp_year": 2025,
      "funding": "credit",
      "country": "US"
    },
    "created": 1634567890,
    "customer": "cus_authenticated_customer_id"
  },
  {
    "id": "pm_0987654321fedcba",
    "object": "payment_method",
    "type": "card",
    "card": {
      "brand": "mastercard",
      "last4": "1234",
      "exp_month": 8,
      "exp_year": 2026,
      "funding": "debit",
      "country": "US"
    },
    "created": 1634567800,
    "customer": "cus_authenticated_customer_id"
  }
]
This endpoint returns an array of Stripe payment methods that have been saved for the authenticated customer. Returns an empty array [] if no payment methods are saved. Payment methods are automatically saved when customers opt to save their payment information during checkout.