Create a new employee

Changed on
post/employees

Request

Request body

namestring required
organization_emailstring required
phone_numberstring required
team_codestring required
role'CARD USER' required

Response

Created

idstring
namestring
phonestring
team_codestring
organization_emailstring
rolestring
accnostring

employee wallet accno

balancenumber double

account balance

status'ACTIVE' | 'SUSPENDED'
createdAtstring date

Changes

    • breaking

      the response's property type changed from double to number, and format from no format to double for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status