trial-codes

Redeem Trial Code

Redeem a trial code for the current user's company.

This will:

  1. Validate the code
  2. Record the redemption
  3. Update the company's subscription to FREE_TRIAL status with trial_end date
post/api/v1/billing/trial-codes/redeem

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/billing/trial-codes/redeem
  • Auth: none declared

Headers

Authorizationstring

Request body

codestring required

Trial code to redeem

Response

Successful Response

successboolean required
dataunknown
messagestring nullable
errorstring nullable
metaobject nullable

Changes

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