billing

Validate Promo

Lightweight validation called by the SPA when the user types a code.

Returns either a successful preview ({valid, discount_amount, final_amount}) or a structured error with a code the SPA can branch on. Does NOT consume the code — checkout/create is the only path that records an application.

post/api/billing/promo/validate

Request

  • Base URL: https://app.dataassist.io (the document declares no server; this is the origin it was published from)
  • URL: https://app.dataassist.io/api/billing/promo/validate
  • Auth: none declared

Request body

codestring required
pack_idstring required

Response

Successful Response

unknown required

Changes

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