Get customer by ID

📘

API Refs

Path parameters

NameTypeDescriptionRequired
idstringStripeCustomerID - use Stripe ID (cus_xxxxx) or numeric IDyes

Response body

Returns a detailed customer object including:

  • Customer profile (id, email, firstName, lastName, phone)
  • Address information (line1, line2, city, state, postal_code, country)
  • Payment methods on file (id, type, isDefault)
  • Stripe StripeCustomerID
  • Timestamps (createdAt, updatedAt)

Description

This endpoint retrieves customer information including their profile details, address, and payment methods on file. While both numeric IDs and Stripe StripeCustomerIDs are accepted, we recommend using Stripe StripeCustomerIDs (cus_xxxxx) for consistency. For subscription history, use the /customers/{id}/subscriptions endpoint.