curl --request POST \
--url https://api.cashful.africa/api/canary/authentication/sign-up/email \
--header 'Content-Type: application/json' \
--data '
{
"name": "John Doe",
"email": "john.doe@example.com",
"password": "StrongPassword123!"
}
'{
"user": {
"id": "<string>",
"email": "<string>",
"emailVerified": true,
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"image": "<string>",
"role": "<string>",
"banned": true,
"banReason": "<string>",
"banExpires": "2023-11-07T05:31:56Z",
"isAnonymous": true,
"username": "<string>",
"displayUsername": "<string>",
"phoneNumber": "<string>",
"phoneNumberVerified": true
},
"token": "<string>"
}Create a new user account using email and password
curl --request POST \
--url https://api.cashful.africa/api/canary/authentication/sign-up/email \
--header 'Content-Type: application/json' \
--data '
{
"name": "John Doe",
"email": "john.doe@example.com",
"password": "StrongPassword123!"
}
'{
"user": {
"id": "<string>",
"email": "<string>",
"emailVerified": true,
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"image": "<string>",
"role": "<string>",
"banned": true,
"banReason": "<string>",
"banExpires": "2023-11-07T05:31:56Z",
"isAnonymous": true,
"username": "<string>",
"displayUsername": "<string>",
"phoneNumber": "<string>",
"phoneNumberVerified": true
},
"token": "<string>"
}The name of the user
"John Doe"
The email address of the user
"john.doe@example.com"
The password for the user account
"StrongPassword123!"
Optional URL to the user's profile image
"https://www.cashful.africa/avatar.jpg"
Optional callback URL after successful sign-up
"https://www.cashful.africa/auth/callback"
Optional flag to indicate if the user should be remembered
true