v2

latestOpenAPI 3.1.02026-07-26231357386.7 KB
Agency Billing

Change the billing plan of a subaccount

To be used by Agency admins only. Changes the billing plan of subaccount.

  • agency_id: the agency ID under which the subaccount is created
  • subaccount_user_id: the user ID for which the billing refresh has to be performed
  • new_billing_plan_id: billing_plan_id for the new plan
get/api/v1/agency/billing/subaccount/change_billing_plan

Query parameters

agency_idstring uuid required
subaccount_user_idstring uuid required
new_billing_plan_idstring uuid nullable required

Response

Successful Response

{"stackTrail":"paths:/api/v1/agency/billing/subaccount/change_billing_plan:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}