Customers
API ReferenceCustomersRetrieve
Retrieve Customer
Retrieve details of an existing customer by their ID.
GET /customers/:customer_id
Path Parameters
| Parameter | Type | Description |
|---|---|---|
customer_id | string | Required. The ID of the customer to retrieve. |
Request Example
curl 'https://api.v2.paychtec.com/customers/cus_1234567890abcdef' \ -H "api-key: snd_YOUR_API_KEY"Response
{
"customer_id": "cus_1234567890abcdef",
"email": "john@example.com",
"name": "John Doe",
"phone": "6502530000",
"phone_country_code": "+1",
"description": "Premium customer",
"default_payment_method_id": null,
"created": "2024-01-22T10:00:00Z",
"metadata": {}
}