POSTRegister User
Register a new user.
Headers
authorization
Bearer Token
Set value to Bearer <token>
x-api-key
string
Set value to 2442555352662653
cURL Request
curl --location 'https://backend-api-production-e3f2.up.railway.app/api/v1/auth/register-business' \
--header 'x-api-key: 2442555352662653' \
--data-raw '{
"username": "AbuksLC",
"fullname": "Abuks Inc",
"email": "abuksinccc@gmail.com",
"password": "Caicedo123",
"dateOfBirth": "8-Mar-1996",
"countryCode": "NGN",
"companyRegistrationNumber":"RC-234555",
"accountType":"BUSINESS",
"referralCode": ""
}'Body Parameters
{
"username": "AbuksLC",
"fullname": "Abuks Inc",
"email": "abuksinccc@gmail.com",
"password": "Caicedo123",
"dateOfBirth": "8-Mar-1996",
"countryCode": "NGN",
"companyRegistrationNumber":"RC-234555",
"accountType":"BUSINESS",
"referralCode": ""
}{
"message": "User created successfully",
"user": {
"id": "4c8c3a7e-58a8-4c3c-8915-d73317ae4f43",
"email": "abuksinccc@gmail.com",
"username": "AbuksLC",
"fullname": "Abuks Inc",
"createdAt": "2025-06-01T20:55:55.374Z",
"status": "active",
"accountType": "BUSINESS"
},
"statusCode": 200
}