Skip to main content
Version: 1.0.6

Create Login for a Legal Representative

'CreateLegalRepLogin' API enables to create legal representative login credentials

Bank or financial institution can create login credentials to access customer portal for the legal representative of business customer account who is responsible for managing and operating the respective account. On providing legalrep ID as request, the login credentials comprising of Username, Password, Google Authenticator code and authenticator QR code sent through email to the legal representative.

Method: POST

{{URL}}/jsonrpc

Headers

NameValue
Content-Typeapplication/json

Example

Request Parameters
ParameterDescription

method

Mandatory

String

API method that is being called to create LegalRep login through customer service

Constant value: "CustomerService.CreateLegalRepLogin"

id

Mandatory

String

Unique ID of API request

Sample value: "1"

params

Mandatory

Object

api

Mandatory

Object

signature

Mandatory

String

Signature for request validation

Sample value: "signature code"

keyId

Mandatory

String

API key used for request authentication

Sample value: "ApplicationKeyId"

credential

Mandatory

String

API credential provided by NetXD

Sample value: "Credential"

payload

Mandatory

Object

legalrepID

Mandatory

String

Unique Id of the LegalRep

Sample value: "62004"


curl --location --globoff '{{URL}}/jsonrpc' \
--header 'Content-Type: application/json' \
--data '{"method":"CustomerService.CreateLegalRepLogin","id":"1","params":{"api":{"signature":"{{signature}}","keyId":"{{ApplicationKeyId}}","credential":"{{Credential}}"},"payload":{"legalrepID":"62004"}}}'

Body


{
"method": "CustomerService.CreateLegalRepLogin",
"id": "1",
"params": {
"api": {
"signature": "{{signature}}",
"keyId": "{{ApplicationKeyId}}",
"credential": "{{Credential}}"
},
"payload": {
"legalrepID": "62004"
}
}
}

Response: 200

Response Parameters
ParameterDescription

id

String

Response ID echoed from the request ID

Sample value: "1"

result

Object

ID

String

Unique Id of the LegalRep

Sample value: "62004"

message

String

Notification message showing whether the login creation is successful or not

Sample value: "Login Created Succesfully"


{
"id": "1",
"result": {
"ID": "62004",
"message": "Login Created Succesfully"
}
}