# List a customer's credit history (/api/usage/list-customer-credit-history)

`GET https://api.comecero.com/api/v1/customers/{customer_id}/usage/{subscription_id}/credit_history`

The prepaid credit of one subscription's usage plans, every plan it has had: what was added, what bills took and what refunds took back, newest first, a page at a time. Entries have no description: that note is yours, so label them by `type`. A shopper's token reads only its own customer (`me` works). Every amount is in `currency`, the subscription's. With usage billing turned off, `data` is empty and `currency` is null. Here `customer_id` is the Comecero customer id, not your own id.

## Parameters

- `customer_id` (path, required): The Comecero customer id, or me.
- `subscription_id` (path, required): The customer's subscription.
- `limit` (query): How many entries to return, from 1 to 100. The default is 25. A number outside 1 to 100 is taken as the nearest of them.
- `starting_after` (query): The `id` of the last entry of the page before. Leave it out for the newest entries.

Responses: 200, 400, 401, 403, 404, 500.

Full schemas: operation `list_customer_credit_history` in /openapi.json.