OrganizationPaymentMethod

Create credit card payment method in the organization

Changed on
post/organization/{organization_id}/payment-method/credit-cards

Request

  • Base URL
    https://api.aiven.io/v1
  • URL
    https://api.aiven.io/v1/organization/{organization_id}/payment-method/credit-cards
  • Auth
    HTTP bearer and OAuth 2
    Authorization code: https://console.aiven.io/oauth/authorize
    Token URL: https://api.aiven.io/v1/oauth2/token scopes: billing:write

Path parameters

organization_idstring required

ID of an organization

Request body

stripe_payment_method_idstring required

Stripe payment method ID

Response

Response

brandstring required

Brand

create_timestring required

Create Time

exp_monthinteger required

Exp Month

exp_yearinteger required

Exp Year

last4string required

Last4

namestring required

Name

organization_idstring required

Organization's ID

payment_method_idstring required

Payment method ID

statestring required

Payment method state

update_timestring required

Update Time

Changes