Returns one customer by its ID.
Security
ApiKey
- Sandboxhttps://acme-billing.redocly.app/_mock/apis/billing/customers/{customerId}
- Sandbox (mock data)https://acme-billing.redocly.app/_mock/apis/billing/customers/{customerId}
curl -i -X GET \
'https://acme-billing.redocly.app/_mock/apis/billing/customers/{customerId}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'The customer.
The three-letter ISO 4217 currency code, in lowercase.
Example:"usd"
How the customer pays. card is present only when type is card.
Response
{ "object": "customer", "id": "cus_N8w2Lq7Tz", "name": "Northwind Traders", "email": "ap@northwind.example", "country": "US", "currency": "usd", "paymentMethod": { "type": "card", "card": { … } }, "createdAt": "2025-01-09T14:30:00Z" }