Register Customer
Registers a new customer into the DCMS platform. This is the primary onboarding API that creates a customer profile with their personal information, KYC documents, address details, communication contacts, and bank account linkage. Optionally, a card can be issued as part of registration by including the kitInfo array in the request. This is commonly used for insta-card issuance where the card is issued at the time of account opening. The entityId must be unique and typically corresponds to the CIF number from the core banking system.
Authorization
tenantAuth The DCMS tenant name for multi-tenant isolation. Every API call must include this header to identify the client organization.
In: header
Header Parameters
The DCMS client or tenant name for multi-tenant isolation.
Request Body
application/json
Unique customer identifier, typically the CIF number from the core banking system.
Type of entity being registered.
"CUSTOMER"Type of business or tenant the customer belongs to.
Business or tenant name.
Unique business or tenant identifier.
Customer title or salutation.
"Mr" | "Mrs" | "Miss" | "Ms" | "Dr"Customer first name.
Customer middle name. Can be empty string if not applicable.
Customer last name or surname.
Customer gender.
"MALE" | "FEMALE" | "OTHER"Date of birth in YYYY-MM-DD format.
dateEntity ID of the customer who referred this customer, if applicable.
Address type for card delivery when kitInfo is provided. Required when issuing a card during registration.
"PERMANENT" | "COMMUNICATION"List of customer addresses. At least one PERMANENT address is required.
List of communication contacts. At least one contact with mobile number is required.
List of KYC documents. At least one document is required.
List of bank accounts to link. At least one account is required.
Optional card details for insta-card issuance during registration. When provided, a card is issued as part of the registration process. The kitNo may reference a pre-allocated kit from inventory.
Response Body
application/json
application/json
application/json
curl -X POST "https://api.dcms.example.com/v1/register" \ -H "tenant: ACME_BANK" \ -H "Content-Type: application/json" \ -d '{ "entityId": "676765", "entityType": "CUSTOMER", "businessType": "ACME_BANK", "business": "ACME_BANK", "businessId": "687", "title": "Miss", "firstName": "Aadhu", "middleName": "", "lastName": "Chandran", "gender": "FEMALE", "dob": "1978-06-01", "referralEntityId": null, "addressInfo": [ { "address1": "M2P Solutions Pvt Ltd", "address2": "Olympia Quest, Plot No:C1 & C56, SIDCO", "address3": "Thiru Vi Ka, Industrial Estate, Guindy", "addressCategory": "PERMANENT", "city": "CHENNAI", "country": "INDIA", "pinCode": "600032", "state": "TAMILNADU" }, { "address1": "M2P Solutions Pvt Ltd", "address2": "Olympia Quest, Plot No:C1 & C56, SIDCO", "address3": "Thiru Vi Ka, Industrial Estate, Guindy", "addressCategory": "COMMUNICATION", "city": "CHENNAI", "country": "INDIA", "pinCode": "600032", "state": "TAMILNADU" } ], "communicationInfo": [ { "contactNo": "9876543210", "emailId": "test98765@gmail.com", "notification": true } ], "kycInfo": [ { "documentType": "PAN", "documentNo": "ABLIP7898E", "hashDocumentNo": "XXXXXXXX", "documentExpiry": "2099-03-01" } ], "accountInfo": [ { "accountNo": 8642135, "accountStatus": "ACTIVE", "accountType": "SAVING", "accountsCurrency": "INR", "defaultAccount": true, "initialFunding": "8000", "isPrimary": false, "schemeCode": "2003" } ] }'{
"result": {
"entityId": "676765"
},
"exception": null,
"pagination": null
}{
"result": null,
"exception": {
"errorCode": "CUS002",
"shortMessage": "Registration failed",
"detailMessage": "Required fields are missing or invalid in the registration request",
"httpStatus": "BAD_REQUEST",
"fieldError": [
"firstName is required",
"At least one address is required"
],
"languageCode": "en"
},
"pagination": null
}{
"result": null,
"exception": {
"errorCode": "CUS003",
"shortMessage": "Customer already exists",
"detailMessage": "A customer with the given entityId is already registered",
"httpStatus": "CONFLICT",
"fieldError": [
"Duplicate entityId"
],
"languageCode": "en"
},
"pagination": null
}Register Card POST
Registers a new card for an existing customer in the DCMS system. This API is used when a customer already exists and needs a new card issued. The kitInfo array specifies the card details including the linked account number and card type. The deliveryAddress field determines which address to use for physical card delivery.
Wallet Fetch Authentication Transactions POST
Retrieves wallet transaction history from the Authentication (Authnt) service for a given kit and wallet type. Returns detailed authentication transaction records including acquirer information, card acceptor details, response codes, and processing metadata. This provides a more detailed view of transactions compared to the ledger endpoint, including network-level details such as merchant category codes (MCC), retrieval reference numbers (RRN), and system trace audit numbers (STAN).
