v2

latestOpenAPI 3.1.02026-07-26231357386.7 KB
Agency Billing

Refreshes the credits for a subaccount

To be used by Agency admins only. Refreshes the credits of your subaccounts with an optional field to set the next billing date.

  • 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
  • next_billing_cycle_in_months: sets the next refresh date for the user. default = as per the billing plan
get/api/v1/agency/billing/subaccount/refresh_billing_cycle

Query parameters

agency_idstring uuid required
subaccount_user_idstring uuid required
next_billing_cycle_in_monthsinteger nullable

Response

Successful Response

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