Skip to main content

Add Customer - Business

'AddCustomer-Business' API enables to add business customer

Business Customer - A Fintech or any registered business entity that is onboarded as customer is recognised as a business customer

Bank or financial institution can add a new business customer in their ledger by using this API. On providing the business customer details as request, the customer is added to the ledger with the generation of unique customer ID and the status becomes active.

note

Refer Add Share holder API to add shareholders of business customer Refer Add Legal Representative API to add users who are responsible for operating the account

Method: POST

{{URL}}/jsonrpc

Example

Request Parameters
ParameterDescription
methodString
The API method being invoked.
Sample Value: "CustomerService.AddCustomer"
idString
Unique identifier for the request. Used for tracking.
Sample Value: "1"
paramsObject
apiObject
signature

Mandatory
String
Sign the request payload (params.payload) using private key.
Sample Value: "MEQCIAbpxHpdOyBEVlmxPYv7m4Z1OvWJJYw7g7u3GE3T9nmvAiBjKHckSvb1M6O4t7FeWsn2z9Y3dMeYn3HyX/k28ek/Dw=="
keyIdString
Key ID is provided at the time of device registration.
Sample Value: "348076"
credential

Mandatory
String
Basic (space) [("<Username>:<apiKey>") as Base64 encoded value] to be provided
Sample Value: "Basic bmF2eWEubitlbXBAbmV0eGQuY29tOmY1OWIwY2NlOTU4ZTQ1YTc4MGVhZWIzYWVjOWVjZDAx"
payloadObject
typeString
Type of customer. Allowed values: "BUSINESS", "INDIVIDUAL".
Sample Value: "BUSINESS"
businessNameLegalString
Legal name of the business.
Sample Value: "SMALLSYS INC"
dateEstablishedString
Business establishment date in YYYYMMDD format.
Sample Value: "20200714"
identificationObject
typeString
Type of identification document.
Sample Value: "TIN"
valueString
Value of the identification document.
Sample Value: "764960722"
contactObject
phoneNumberString
Contact phone number.
Sample Value: "4810201421"
emailString
Contact email address.
Sample Value: "daves@bank.com"
addressObject
addressLine1String
Address line 1.
Sample Value: "795 E DRAGRAM"
cityString
City of the address.
Sample Value: "TUCSON"
stateString
State or province.
Sample Value: "AZ"
countryString
Country code in ISO 3166-1 alpha-2 format.
Sample Value: "US"
zipString
ZIP or postal code.
Sample Value: "85705"
kycStatusString
Status of the KYC (Know Your Customer) process.
Sample Value: "ACTIVE"
kycDataObject
applicationIdString
Identifier of the KYC application.
Sample Value: "KYC_00002990750"
refIdString
KYC reference ID.
Sample Value: "2371226d-a6c2-4358-9250-157e80be05c8"
additionalkycinfoObject
Additional KYC information (if any).
Sample Value: {}

curl --location --globoff '{{URL}}/jsonrpc' \
--header 'Content-Type: application/json' \
--data-raw '{"method":"CustomerService.AddCustomer","id":"1","params":{"api":{"signature":"{{signature}}","keyId":"{{ApplicationKeyId}}","credential":"{{Credential}}"},"payload":{"type":"BUSINESS","businessNameLegal":"SMALLSYS INC","dateEstablished":"20200714","identification":[{"type":"TIN","value":"764960722"}],"contact":{"phoneNumber":"4810201421","email":"daves@bank.com"},"address":{"addressLine1":"795 E DRAGRAM","city":"TUCSON","state":"AZ","country":"US","zip":"85705"},"kycStatus":"ACTIVE","kycData":{"applicationId":"KYC_00002990750","refId":"2371226d-a6c2-4358-9250-157e80be05c8","additionalkycinfo":{}}}}}'

Body


{
"method": "CustomerService.AddCustomer",
"id": "1",
"params": {
"api": {
"signature": "{{signature}}",
"keyId": "{{ApplicationKeyId}}",
"credential": "{{Credential}}"
},
"payload": {
"type": "BUSINESS",
"businessNameLegal": "SMALLSYS INC",
"dateEstablished": "20200714",
"identification": [
{
"type": "TIN",
"value": "764960722"
}
],
"contact": {
"phoneNumber": "4810201421",
"email": "daves@bank.com"
},
"address": {
"addressLine1": "795 E DRAGRAM",
"city": "TUCSON",
"state": "AZ",
"country": "US",
"zip": "85705"
},
"kycStatus": "ACTIVE",
"kycData": {
"applicationId": "KYC_00002990750",
"refId": "2371226d-a6c2-4358-9250-157e80be05c8",
"additionalkycinfo": {}
}
}
}
}


Response: 200

Request Parameters
ParameterDescription
idString
Echoed request identifier. Used to match the response to the original request.
Sample Value: "1"
resultObject
IdString
Unique identifier of the customer created.
Sample Value: "EPL01100000000011008"
CustomerNumberString
Customer number assigned by the system. Usually the same as Id.
Sample Value: "EPL01100000000011008"
StatusString
Current status of the customer.
Sample Value: "ACTIVE"
TenantIdString
Identifier of the tenant or organization to which the customer belongs.
Sample Value: "OID0000001001"
jsonrpcString
JSON-RPC protocol version.
Sample Value: "2.0"

{
"id": "1",
"result": {
"Id": "EPL01100000000011008",
"CustomerNumber": "EPL01100000000011008",
"Status": "ACTIVE",
"TenantId": "OID0000001001"
},
"jsonrpc": "2.0"
}