Auth Registration
SwitchWallet Merchant Signup Guide
This guide will walk you through the complete process of signing up as a merchant on the SwitchWallet platform.
Overview
The signup process consists of two main steps:
Request Email Verification OTP - Verify your email address
Complete Registration - Create your merchant account
After successful registration, your account will be created with:
User account credentials
Merchant profile
Wallet addresses for all supported cryptocurrencies (automatically generated)
Step 1: Request Email Verification OTP
Endpoint
POST /api/v2/auth/register/otpRequest Body
Example Request (cURL)
Expected Response
What Happens
An OTP (One-Time Password) code is sent to your email address
The OTP is valid for a limited time (check your email for expiration details)
Note: For Sandbox/Staging environment, OTP is required. For Production, OTP validation may vary.
Step 2: Complete Registration
Endpoint
Request Body
Field Descriptions
emailAddress
string
Yes
Your business email address (must be unique)
businessName
string
Yes
Your business/company name
firstName
string
Yes
Your first name
lastName
string
Yes
Your last name
otpCode
string
Yes (Sandbox)
The OTP code received in Step 1
password
string
Yes
Your account password (must meet security requirements)
confirmPassword
string
Yes
Must match the password field exactly
sentFrom
enum
Yes
Either "Sandbox" or "Production"
sentFrom Values
sentFrom Values"Sandbox"- For testing/staging environment (requires OTP verification)"Production"- For production environment (OTP requirements may vary)
Example Request (cURL)
Success Response
Error Responses
Email Already Exists
Invalid OTP Code (Sandbox)
Passwords Don't Match
Password Requirements Not Met
Complete Registration Flow
Sandbox/Staging Environment
Request OTP
Send email address to
/api/v2/auth/register/otpCheck your email for the OTP code
Complete Registration
Fill in all registration fields
Include the OTP code from your email
Set
sentFromto"Sandbox"
Production Environment
Request OTP (if required)
Send email address to
/api/v2/auth/register/otpFollow production-specific instructions
Complete Registration
Fill in all registration fields
Set
sentFromto"Production"
What Happens After Registration
Once your registration is successful:
✅ User Account Created - Your login credentials are set up
✅ Merchant Profile Created - Your business profile is registered
✅ Wallet Generation Initiated - Wallet addresses are automatically generated for all supported cryptocurrencies
✅ Authentication Token Issued - You receive an access token for API calls
✅ 2FA Setup (Sandbox) - Two-factor authentication is automatically enabled
NB: You will need to setup your 2FA on production dashboard
Wallet Address Generation
After registration, the system automatically:
Creates wallet entities for all active parent cryptocurrencies
Sends wallet creation commands to generate wallet mnemonics
Triggers address generation workers to create initial wallet addresses(this may take a little time, cos the request is queued)
Using Your Access Token
After successful registration, use the returned token in subsequent API requests:
Token Expiration
The
expiresAtTimestampfield indicates when your token expiresUse the
refreshTokento get a new access token via/api/v2/auth/refreshToken
Example: Complete Signup Script
Troubleshooting
OTP Not Received
Check your spam/junk folder
Verify the email address is correct
Wait a few minutes and try again
Contact support if issue persists
Invalid OTP Error
Ensure OTP hasn't expired (typically valid for 5-10 minutes)
Check that you're using the most recent OTP sent
Make sure there are no extra spaces when copying the OTP
Email Already Exists
This email is already registered
Try logging in instead at
/api/v2/auth/loginUse password reset if you forgot your password
Password Requirements
Minimum length requirements (typically 8+ characters)
Must include uppercase, lowercase, numbers, and/or special characters
Ensure
passwordandconfirmPasswordmatch exactly
Next Steps After Registration
Login - Use your credentials at
/api/v2/auth/loginView Wallets - Check your generated wallet addresses
Generate Deposit Addresses - Create addresses for receiving payments
Configure Webhooks - Set up payment notifications
Review API Documentation - Explore available endpoints
Support
For additional help or questions:
Email: [email protected]
Documentation: https://docs.switchwallet.com
API Status: https://status.switchwallet.com
Last Updated: November 2025
Last updated