Skip to main content
POST
/
auth
/
verify-email
{
  "success": false,
  "error": {
    "status": 400,
    "code": "VALIDATION_INVALID",
    "message": "Invalid verification token"
  },
  "data": null
}
Verify email address using the verification token sent to the user’s email.
token
string
required
Email verification token
success
boolean
Indicates if the request was successful
data
object
Verification result data

Example Request

curl -X POST https://api.transaction.gg/auth/verify-email \
  -H "Content-Type: application/json" \
  -d '{
    "token": "verification_token"
  }'

Example Response

{
  "success": true,
  "error": null,
  "data": {
    "verified": true
  }
}

Error Responses

{
  "success": false,
  "error": {
    "status": 400,
    "code": "VALIDATION_INVALID",
    "message": "Invalid verification token"
  },
  "data": null
}