POST /api/public/v1/purchase/verifyEmailCode

Changed on

Checks code against the code mailed to the caller's own stored address and, on a match, marks the address verified, answering verified; otherwise wrong, expired, or locked once the code took its last wrong guess, when a new one must be sent. A code is valid once. Refused with NOT_FOUND when the caller has no purchase under way.

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
code, string required

Response

OK

object required
outcome, 'verified' | 'wrong' | 'expired' | 'locked' required

Changes