trial-codes

Validate Trial Code

Validate a trial code without redeeming it.

This endpoint is PUBLIC (no authentication required) to allow users to check code validity before signing up or signing in.

Security note: Only returns whether code is valid and trial duration. Does not expose sensitive code details.

post/api/v1/billing/trial-codes/validate

Request

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

Request body

codestring required

Trial code to validate

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.