remy
remy

Renew Creator Credits Endpoint

Changed on

Grant the next month of credits to every Recognized/Elite creator whose billing month has closed.

Meant for a daily GCP Cloud Scheduler hit — it picks up whoever is due rather than assuming a fixed day, so each creator renews on the anniversary of the day they joined. Running it more than once a day is harmless: a subscription is only due while its current_period_end is in the past, and renewing pushes that a month forward.

A gap in the schedule does not compound. If the job is down for three months, the creator gets one month's credits and their renewal date is moved to the next future anniversary — credits are an allowance, not a balance that accrues.

limit is for a cautious first run in a new environment; leave it off in the schedule.

post/api/v1/remy/cron/creator-credits/renew

Request

  • Base URL
    https://api.brandbooster.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.brandbooster.ai/api/v1/remy/cron/creator-credits/renew
  • Auth
    API key in header X-Internal-Api-Key

Query parameters

limitinteger nullable

Cap how many subscriptions this run touches

Response

Successful Response

ran_atstring required
dueinteger required
renewedinteger required
skippedinteger required
detailsobject[]
skipped_detailsobject[]

Changes