Billing

Check a promo code before paying and see the discount it gives

post/api/v1/workspaces/{workspaceId}/billing/promo

Request

  • Base URL: https://otprun.com
  • URL: https://otprun.com/api/v1/workspaces/{workspaceId}/billing/promo
  • Auth: HTTP bearer

Path parameters

workspaceIdinteger required

Request body

codestring required

Response

OK

amount_offinteger required

Discount in US cents

codestring required
expires_atstring date-time nullable required
kind'percent' | 'amount' required
percentinteger required
plansstring[] nullable required

Empty for every paid plan

Changes

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