Skip to main content
This endpoint is called by the invited member — not by the business owner. The invitee receives an email with an authorizationToken that they use here to set their profile and password.

Endpoint

PATCH /clients/members/complete-registration

Headers

SECRET_KEY
string
required
Your API secret key.

Request body

authorizationToken
string
required
The token sent to the invitee’s email address when the invitation was created.
firstName
string
required
The invitee’s first name.
lastName
string
required
The invitee’s last name.
phoneNo
string
required
The invitee’s phone number.
password
string
required
The password the invitee wants to set for their account.

Response

status
boolean
true on success.
message
string
Confirmation message, e.g. "Registration completed successfully".

Code examples

curl -X PATCH https://sandbox.stellasbank.com/api/v1/clients/members/complete-registration \
  -H "SECRET_KEY: YOUR_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "authorizationToken": "TOKEN_FROM_EMAIL",
    "firstName": "Ada",
    "lastName": "Lovelace",
    "phoneNo": "+2348012345678",
    "password": "SecurePassword123!"
  }'

Example response

{
  "status": true,
  "message": "Registration completed successfully"
}