v1
latestOpenAPI 3.1.02026-07-228956435.8 KBCustomers
Get a customer
Retrieves the customer with the given id. Only customers created in the live or test mode of the API key used are visible. Requesting a customer from the other mode returns a 404 Not Found error.
get/customers/{id}
Path parameters
idstring required
The unique identifier of the customer (for example cus_0ujsswThIGTUYm2K8FjOOfXtY1K).
Response
The customer with the given id.
Example response
{
"id": "cus_0ujsswThIGTUYm2K8FjOOfXtY1K",
"address": {
"city": "Santiago",
"country": "cl",
"line1": "Av. Providencia 123",
"line2": "Depto 45",
"postal_code": "7500000",
"state": "RM"
},
"created_at": "2026-01-15T14:30:00Z",
"email": "jared@piedpiper.com",
"metadata": {
"order_id": "12345"
},
"mode": "live",
"name": "Test Customer 1",
"phone": "+56911111111",
"tax_id": {
"type": "cl_rut",
"value": "111111111"
}
}