Billing

Redeem a partner code on the packages step.

<br/>A trial code grants the capped trial entitlement, exactly as the MCP<br/>paywall route already did. A plan_grant code creates a real Stripe<br/>subscription discounted to zero, so a design partner ends up with the full<br/>package and every downstream surface treats them as a normal subscriber.<br/><br/>Rate limited on the same backoff bucket as the MCP redeem route, because<br/>this endpoint is the other door into the same guessable secret.

post/api/v1/billing/redeem-code

Request

  • Base URL: https://api.avatarfactory.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.avatarfactory.io/api/v1/billing/redeem-code
  • Auth: one of:
    • API key in cookie session
    • HTTP bearer

Request body

codestring required

Response

OK

errorstring nullable
grantedboolean required
kindstring nullable
plan_slugstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.