docs

Get customer by ID

Retrieves customer lifecycle information (id, type, name, email, phone, address, metadata). Response shape is identical to the `customer.*` webhook payload. For transaction counts + payment methods, call `GET /customers/:id/stats`.

GET
/customers/{id}

Retrieves customer lifecycle information (id, type, name, email, phone, address, metadata). Response shape is identical to the customer.* webhook payload. For transaction counts + payment methods, call GET /customers/:id/stats.

AuthorizationBearer <token>

API key for merchant integrations. Send as Authorization: Bearer <your key>.

In: header

Path Parameters

id*string

Customer ID

Response Body

application/json

curl -X GET "https://example.com/customers/string"
{
  "id": "cus_abc123xyz",
  "object": "customer",
  "type": "registered",
  "createdAt": "string",
  "updatedAt": "string",
  "name": "string",
  "email": "string",
  "phone": "string",
  "address": {},
  "guestFingerprint": {},
  "metadata": {},
  "merchantId": "string"
}
Empty