Account

Attach payment method for account

Changed on

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.

post/account/{account_id}/payment_methods

Request

  • Base URL
    https://api.aiven.io/v1
  • URL
    https://api.aiven.io/v1/account/{account_id}/payment_methods
  • Auth
    HTTP bearer and OAuth 2
    Authorization code: https://console.aiven.io/oauth/authorize
    Token URL: https://api.aiven.io/v1/oauth2/token scopes: accounts:write, payments:write

Path parameters

account_idstring required

Account ID

Response

Response

messagestring

Printable result of the request

Changes