Register User
Creates a new user, generates a managed wallet address, and triggers an email OTP challenge.
Body Parameters
| Name | Type | Description | Example |
|---|---|---|---|
emailRequired | string (email) | User email address. | satoshi@mypayverse.com |
passwordRequired | string | Password must be at least 6 characters. | Sup3rStrong! |
countryRequired | string | ISO country name. | Singapore |
mobileRequired | string | International phone number. | +6581234567 |
curl -X POST https://api.mypayverse.xyz/api/auth/register \
-H "Content-Type: application/json" \
-d '{
"email": "satoshi@mypayverse.com",
"password": "Sup3rStrong!",
"country": "Singapore",
"mobile": "+6581234567"
}'Responses
{
"message": "User registered successfully. Please verify your email with the OTP sent.",
"userId": "664f8f6b9aae7cd290a9d994",
"emailSent": true
}{
"error": "All fields are required"
}{
"error": "User already exists with this email"
}