Overview
Allows the client to transfer an account created using the Agent API to another application, such as Neuro-Access. If the account has an associated current Legal ID, the ID will also be transferred to the new application. To transfer an account, without Legal ID, the Key ID, and Key Signatures can be omitted. If transferring an account with any associated Legal ID, and its corresponding private key, the Key ID and Key Signatures must be provided.HTTP request
POST /Agent/Account/Transfer
Authentication
Requires a valid JWT bearer token.Request (JSON)
Input parameters
| Parameter | Description |
|---|---|
| PKeyId | Identity of key to use for signing the Identity application. |
| PNonce | A unique random string, at least 32 characters long, with sufficient entropy to not be reused again. If reused, an error will be returned. |
| PKeySignature | Cryptographic signature of the key ID, using the key password. |
| PRequestSignature | Cryptographic signature of the requesut, using the account password. |
| PPin | A PIN code to protect the transferred identity in the receiving application. |
Response (JSON)
Response parameters
| Parameter | Description |
|---|---|
| POnboardingUri | A URI that should be transferred to the application to which the account and ID is to be transfered. |
| PQrCodeUrl | A URL to a QR code image that can be scanned by the receiving application, containing the Onboarding URI. |
| PQrCodeWidth | Width of the QR code image, in pixels. |
| PQrCodeHeight | Height of the QR code image, in pixels. |