# POST /v1/project/{}/credits stops working

Calls to POST /v1/project/{id}/credits on Aiven API stopped working on March 11, 2026.

## What to use instead

Call /v1/billing-group/{billing_group_id}/credits instead using the organization-level API.

- API: Aiven API (api.aiven.io)
- Kind: Endpoint removal
- Takes effect: March 11, 2026
- Calls after that day: fail
- Calls it hits: `POST /v1/project/{id}/credits`
- Source: [Announcement](https://api.aiven.io/doc/openapi.json)
- Verified: November 6, 2026, against Aiven API's own pages
- Page: https://www.okapi.bot/providers/aiven-api/breaking-changes/post-v1-project-credits-stops-working/

## Aiven API's words

> The API endpoint /v1/project/{project}/credits is deprecated. Use https://api.aiven.io/v1/billing-group/{billing_group_id}/credits instead. It will be removed on 2026-03-11.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
