cURL
curl --request GET \ --url https://api.nomos.energy/customers/{id} \ --header 'Authorization: Bearer <token>'
{ "object": "customer", "id": "cus_u4xw9jvexjxszm6cbrej9b7j", "type": "person", "first_name": "John", "last_name": "Doe", "email": "john.doe@example.com", "created_at": "2024-03-14T12:00:00Z" }
Retrieve customer details by their id
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"cus_uxpr3x84hdw73jr9vz4fkar5"
Retrieve the customer details
The response is of type object.
object