Skip to main content
GET
/
api
/
v1
/
agency
/
billing
/
subaccount
/
refresh_billing_cycle
Refreshes the credits for a subaccount
curl --request GET \
  --url 'https://api.example.com/api/v1/agency/billing/subaccount/refresh_billing_cycle?api_key='
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

api_key
string
query
required

Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.

Query Parameters

agency_id
string<uuid>
required
subaccount_user_id
string<uuid>
required
next_billing_cycle_in_months
integer | null

Response

Successful Response