Subaccounts

Create an operator

Creates new operator for currently authorized users' merchant.

post/v0.1/me/accounts

Request body

usernamestring email required
passwordstring required
nicknamestring

Example request

{
  "username": "operator1@mydomain.com",
  "password": "correct horse batter staple",
  "nickname": "Operator 1"
}

Response

Newly created operator.

idinteger required
usernamestring required
nicknamestring nullable
disabledboolean required
created_atstring date-time required

The timestamp of when the operator was created.

updated_atstring date-time required

The timestamp of when the operator was last updated.

account_type'operator' | 'normal' required

Example response

{
  "username": "operator1@mydomain.com",
  "nickname": "Operator 1"
}

Changes