{ "success": false, "error": { "status": 400, "code": "EMAIL_ALREADY_REGISTERED", "message": "Email already exists" }, "data": null }
Register a new user account
curl -X POST https://api.transaction.gg/auth/register \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]", "password": "password123", "turnstileToken": "captcha_token" }'
{ "success": true, "error": null, "data": { "token": "jwt_token" } }
{ "success": false, "error": { "status": 400, "code": "VALIDATION_INVALID", "message": "Invalid turnstile token" }, "data": null }