# /v1/account/{}/payment_methods stops working

Calls to /v1/account/{id}/payment_methods on Aiven API stopped working on July 17, 2026.

On July 17, 2026, the endpoint /v1/account/{id}/payment_methods was removed. Requests sent to this endpoint fail since that date.

## What to use instead

Call /v1/organization/{organization_id}/payment-method/credit-cards instead using the organization-level API.

- API: Aiven API (api.aiven.io)
- Kind: Endpoint removal
- Takes effect: July 17, 2026
- Calls after that day: fail
- Calls it hits: `/v1/account/{id}/payment_methods`
- 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/v1-account-payment-methods-stops-working/

## Aiven API's words

> The API endpoint /v1/account/{account_id}/payment_methods is deprecated. Use https://api.aiven.io/v1/organization/{organization_id}/payment-method/credit-cards instead. It will be removed on 2026-07-17.

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