Create, Update, Delete Accounts & Users

Create Users

Follow the instructions in the guide Create Passenger.

POST api/external/user

Create Accounts

POST /api/external/user/account

Standard Payload to create an account

{
  "accountNumber": "string",
  "accountid": 0,
  "address": {...},
  "email": "string",
  "externalReference": "string",
  "internalId": 0,
  "mobile": "string",
  "name": "string",
  "notes": "string",
  "phone": "string",
  "vatNumber": "string"
}

"accountNumber": "string", can be provided or automatically generated by the system

"accountid" and "internalId" internal system ID for accounts generated by the system

"address": {...}, address payload for the account

"externalReference": "string", provide a random externalReference when creating accounts to be able to retrieve it from the API in the future.