Register a new customer
Customers
Register Customer
Creates a User, Account, Customer, and CustomerDeal in a single transaction. The deal starts with status LOCKED.
POST
Register a new customer
Authorizations
JWT token obtained from POST /api/auth/signin
Body
application/json
Example:
"Eric Nanduhu"
Example:
"0786038292"
Example:
176
Example:
550000
Example:
"Mwesigwa Julius"
Example:
"0786038292"
Example:
"351920920269424"
Example:
"DFVCXG6R"
Response
Customer registered successfully