Create user

Use this endpoint to create a new user in Authorise.

  • When a user is created, one key is automatically generated for the user and returned in the response.

Encryption is needed to this endpoint using your own Authorise key. Please follow the steps below:

Encryption Process using AES and RSA encryption :

  1. AES Encryption: Encrypt the JSON payload using a 128-bit AES key and encode it in Base64.
  2. RSA Encryption: Encrypt the AES key using RSA/ECB/PKCS1Padding with the Authorise's public key and encode it in Base64.
  3. Send Encrypted Data: Include the AES-encrypted payload (encryptedPayload) and the RSA-encrypted AES key (encryptedSymmetricKey) in the request headers