# List available athlete credit `GET /api/v1/payments/credits` Lists athlete credit payments with an available balance. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Payments → Read**. ## Query parameters - `athlete_id` (integer, required) — ID of the athlete. API key access to this operation depends on the workspace’s payment sport access. A request can return `403` even when the key has Payments read permission. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --get \ --url "https://api.asdincloud.com/api/v1/payments/credits" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --data-urlencode "athlete_id=42" ``` ## Response **200 OK** Returns credits with their allocated and available amounts in minor units. Example with fictional data and selected fields. ```json { "status": "success", "data": [ { "id": 31, "amount": 6000, "currency": "EUR", "receipt_number": 18, "allocated_amount": 2500, "available_amount": 3500 } ] } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `400` — The supplied fields or payment state do not allow this action.