OnboardingsResponseDto
Indicates if the operation was successful
true
Response message providing additional information about the operation
Onboarding request processed successfully
Error code in case of failure
ERR_001
data objectnullable
Response payload containing the actual data
data object[]
Unique identifier
550e8400-e29b-41d4-a716-446655440000
Official identification document type code that classifies the form of ID
00012
Official identification document number as it appears on the ID
550e8400-e29b-41d4-a716-446655440000
Date when the ID document was issued, in DD-MM-YYYY format
Possible values: Value must match regular expression dd-MM-yyyy
24-08-2023
ISO formatted timestamp of ID document's issue date
2023-08-23T22:00:00Z
Date when the ID document expires, in DD-MM-YYYY format
Possible values: Value must match regular expression dd-MM-yyyy
03-09-2023
ISO formatted timestamp of ID document's expiration date
2023-09-02T22:00:00Z
The codification of the subscriber's title
06
Subscriber's family name/surname
Possible values: non-empty
and <= 100 characters
Ibrahimi
Subscriber's given name
Possible values: non-empty
and <= 100 characters
Mohammed
Subscriber's phone number
0612890678
Phone country code
+212
+212
Employment status of the client
true
Legal name of the client's employer
Possible values: <= 100 characters
Adria Corporation
Annual income amount in base currency units
Possible values: >= 0
150032
Client's professional occupation category code
210
Professional annual income in base currency units
Possible values: >= 0
75000
Primary email address used for communications
samir.mouaalim@yahoo.com
Business sector or industry classification code
0007
Client's marital status code
2
Number of dependent children
Possible values: >= 0
and <= 20
2
Full legal name of client's mother
Possible values: <= 100 characters
Sara Mouttaa
Client's date of birth in DD-MM-YYYY format
Possible values: Value must match regular expression dd-MM-yyyy
24-08-1991
ISO formatted timestamp of client's birth date
2005-08-23T22:00:00Z
Country or city of birth
Possible values: <= 50 characters
MAROC
Current country of residence
Possible values: <= 50 characters
MAROC
Complete business headquarters street address
Possible values: <= 200 characters
123 Business Street
Is US taxpayer
false
Activity segment
P_SegmentClientContrat
This is set to true if the client has a wallet subscription otherwise it is set to false
true
This is set to true if the client has a e-banking subscription otherwise it is set to false
true
The status of the client
ACTIVE
Is e-banking activated
true
Bank code
00010
Contract identifier
3905
User ID
2c9180878e66bd67018e6d6a6da90000
Attachment description
Passport scan
Wallet level
2
City the client is in
CASABLANCA
The country the client is in
USA
Postal code
43000
ibramini.mohammed@email.com
Onboarding date
2024-01-01
Product type
SAVINGS_ACCOUNT
Files in multipart format
Upgrade ID
789
Current type
STANDARD
Target type
PREMIUM
Upgrade status
PENDING
Upgrade date
2024-02-01T00:00:00Z
Formatted upgrade date
2024-02-01
Rejection reason
INCOMPLETE_DOCUMENTATION
Current account type
INDIVIDUAL
ID document type label
Passport
Subscriber title label
M
Profession label
Software Engineer
Activity domain label
Information Technology
Marital status label
Married
Birth place label
New York City
Residence place label
Manhattan, NY
Segment label
Premium Customer
Customer type
INDIVIDUAL
Language
fr
Nationality code
USA
Middle name
ROBERT
Gender
M
Country of birth
USA
ID paper delivery place
NKTT
Issuing organization
US STATE DEPARTMENT
National identifier
123-45-6789
City of birth
CASABLANCA
Territoriality code
US-NY
Branch code
NYC001
Country code
USA
Customer officer
AGENT123
Quality code
A1
Taxable customer
YES
freeAttributes object[]
Free attributes
Customer unique identifier code
CUST123
additionalData objectrequired
DTO containing additional data information
Unique identifier for the additional data
DATA_001
value objectrequired
DTO representing different types of additional data values
Alphanumeric value
ABC123
Amount or rate value
1234.56
Date value in format (dd-MM-yyyy)
Possible values: Value must match regular expression ^\d{2}-\d{2}-\d{4}$
31-12-2024
Free text field for additional customer information
Possible values: <= 500 characters
Special customer requirements
Declared home
OWNED
Economic agent code
EAC123
Customer activity field code
IT_SERVICES
Bank relationship
PRIMARY
addresses object[]
Addresses
Type of address (e.g., HOME, WORK, BILLING)
HOME
Language code (ISO 639-1)
fr
Format of the address
STANDARD
Primary address line
123 Rue Mohammed V
Secondary address line
Appartement 4B
Additional address line
Quartier des Affaires
City name
Casablanca
Country code
MA
Branch code
00004
Geographical department code
CAS
phoneNumbers object[]
Phone numbers
identifier objectrequired
Identifier information for creating a phone number
The unique code identifying the customer
CUST123
The type of phone number (e.g., MOBILE, HOME, WORK)
MOBILE
The phone number to be created
+1-555-123-4567
The format specification for the phone number
E164
professionsAndIncomes object[]
Profession and income details
Date when the customer was hired by their employer
15-01-2024
Code representing the customer's profession
ENG001
Unique identifier code for the employer
EMP123
Code representing the customer's income bracket
IB500K
Department within the employer organization where the customer works
IT Department
PML default
LOW_RISK
Profile code
PRF001
accountCreation object
DTO for creating a new bank account with all necessary configurations
Product code identifying the type of account
SAV001
Code defining the account classification
PERSONAL
Type of account (e.g., Savings, Checking)
SAVINGS
Indicates if the account is subject to taxation
Y
Indicates if interest calculations apply to this account
Y
Frequency of calculating debit interest
MONTHLY
Frequency of calculating credit interest
MONTHLY
Code specifying how interest ladder should be printed
STD
Indicates if the account is subject to source deduction
Y
Account maturity date for term deposits
2025-12-31
Code for additional services attached to the account
PREMIUM
Code defining the type of account statement
MONTHLY
Method of delivering account statements
EMAIL
Minimum number of cheques that triggers reordering
5
Default type of cheque book for this account
STD25
Method of delivering cheque books
BRANCH
Branch code responsible for cheque book delivery
BR001
Digital agency identifier
DIG001
documents object[]
Documents
Country code where the ID was issued
MA
Expiry date of the identification document
31-12-2025
Identification document number
AB123456
Type of identification document
PASSPORT
Unique reference for the document
DOC-2023-001
Root identifier for document classification
CLI
Code indicating the nature/type of document
CONT001
Name of the document
Contract Agreement
Indicates if the document is confidential
Y
File name or path
contract_12345.pdf
Bank code identifier
BNK001
Function
EMPLOYEE
Offer type
PREMIUM_PACKAGE
ID document
passport.pdf
Photo
profile.jpg
Address proof
utility_bill.pdf
Income proof
payslip.pdf
Agency
00020
Other
Additional notes
Commercial offers
["193"]
Professional profiles
["TRADE_FINANCE_CAUTION_BO","TRADE_FINANCE_GUARANTEE_BO","BO_CREATEUR_VALIDATEUR"]
Enumeration of supported language codes by Adria standard
Possible values: [EN
, FR
, ES
, DE
, IT
, PT
, AR
]
EN
filesContent object[]
Files content
Name of the file
document.pdf
Content of the file as string
base64_encoded_content
Type/extension of the file
pdf
Root identifier for file classification
CLI
Bank code identifier
00014
Hire date
23-08-2023
Account number
1234567890
Status label
Active Account
Request identifier
EER00085C_ADRIA
Income bracket code
B3
{
"success": true,
"message": "Onboarding request processed successfully",
"codeError": "ERR_001",
"data": {
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"documentIDType": "00012",
"documentIDNumber": "550e8400-e29b-41d4-a716-446655440000",
"issueDateID": "24-08-2023",
"emissionDateIDFormatted": "2023-08-23T22:00:00Z",
"expirationDateID": "03-09-2023",
"expirationDateIDFormatted": "2023-09-02T22:00:00Z",
"subscriberTitle": "06",
"lastName": "Ibrahimi",
"firstName": "Mohammed",
"phoneNumber": "0612890678",
"phoneCountryCode": "+212",
"isEmployed": true,
"employerName": "Adria Corporation",
"revenueAmount": "150032",
"profession": "210",
"professionalAmount": 75000,
"primaryEmail": "samir.mouaalim@yahoo.com",
"activityDomain": "0007",
"maritalStatus": "2",
"childrenNumber": 2,
"motherName": "Sara Mouttaa",
"birthDate": "24-08-1991",
"birthDateFormatted": "2005-08-23T22:00:00Z",
"birthPlace": "MAROC",
"residencePlace": "MAROC",
"headquartersAddress": "123 Business Street",
"isUsTaxPayer": false,
"segment": "P_SegmentClientContrat",
"hasWalletSubscription": true,
"eBankingSubscription": true,
"status": "ACTIVE",
"isEBankingActivated": true,
"bankCode": "00010",
"contractId": "3905",
"userId": "2c9180878e66bd67018e6d6a6da90000",
"attachmentDescription": "Passport scan",
"walletLevel": "2",
"city": "CASABLANCA",
"country": "USA",
"postalCode": "43000",
"email": "ibramini.mohammed@email.com",
"onboardingDate": "2024-01-01",
"productType": "SAVINGS_ACCOUNT",
"files": [
"string"
],
"signature": "string",
"upgradeId": "789",
"currentType": "STANDARD",
"targetType": "PREMIUM",
"upgradeStatus": "PENDING",
"upgradeDate": "2024-02-01T00:00:00Z",
"upgradeDateFormatted": "2024-02-01",
"rejectionReason": "INCOMPLETE_DOCUMENTATION",
"currentAccountType": "INDIVIDUAL",
"idDocumentTypeLabel": "Passport",
"subscriberTitleLabel": "M",
"professionLabel": "Software Engineer",
"activityDomainLabel": "Information Technology",
"maritalStatusLabel": "Married",
"birthPlaceLabel": "New York City",
"residencePlaceLabel": "Manhattan, NY",
"segmentLabel": "Premium Customer",
"customerType": "INDIVIDUAL",
"language": "fr",
"nationalityCode": "USA",
"middleName": "ROBERT",
"gender": "M",
"birthCountry": "USA",
"idPaperDeliveryPlace": "NKTT",
"issuingOrganization": "US STATE DEPARTMENT",
"nationalIdentifier": "123-45-6789",
"birthCity": "CASABLANCA",
"territorialityCode": "US-NY",
"branchCode": "NYC001",
"countryCode": "USA",
"customerOfficer": "AGENT123",
"qualityCode": "A1",
"taxableCustomer": "YES",
"freeAttributes": [
{
"customerCode": "CUST123",
"additionalData": {
"identifier": "DATA_001",
"value": {
"alphanumeric": "ABC123",
"amountOrRate": 1234.56,
"date": "31-12-2024"
}
},
"freeText": "Special customer requirements"
}
],
"declaredHome": "OWNED",
"economicAgentCode": "EAC123",
"customerActivityFieldCode": "IT_SERVICES",
"bankRelationship": "PRIMARY",
"addresses": [
{
"type": "HOME",
"languageCode": "fr",
"addressFormat": "STANDARD",
"addressLine1": "123 Rue Mohammed V",
"addressLine2": "Appartement 4B",
"addressLine3": "Quartier des Affaires",
"city": "Casablanca",
"countryCode": "MA",
"branchCode": "00004",
"geographicalDepartment": "CAS"
}
],
"phoneNumbers": [
{
"identifier": {
"customerCode": "CUST123",
"type": "MOBILE"
},
"phoneNumber": "+1-555-123-4567",
"format": "E164"
}
],
"professionsAndIncomes": [
{
"hireDate": "15-01-2024",
"professionCode": "ENG001",
"employerCode": "EMP123",
"incomesBracketCode": "IB500K",
"employerDepartment": "IT Department"
}
],
"pmlDefault": "LOW_RISK",
"profileCode": "PRF001",
"accountCreation": {
"productCode": "SAV001",
"accountClassCode": "PERSONAL",
"accountType": "SAVINGS",
"taxableAccount": "Y",
"accountSubjectToInterestCalculation": "Y",
"frequencyOfDebitInterestCalculation": "MONTHLY",
"frequencyOfCreditInterestCalculation": "MONTHLY",
"codeForInterestLadderPrinting": "STD",
"accountSubjectToDeductionAtSource": "Y",
"maturityDate": "2025-12-31",
"serviceCode": "PREMIUM",
"accountStatementCode": "MONTHLY",
"accountStatementDeliveryMethod": "EMAIL",
"thresholdForReorderingCheques": "5",
"defaultChequeBookType": "STD25",
"chequeDeliveryMethod": "BRANCH",
"branchThatDeliveredTheChequeBook": "BR001",
"agenceDigital": "DIG001"
},
"documents": [
{
"id_country": "MA",
"id_expiry": "31-12-2025",
"id_number": "AB123456",
"id_type": "PASSPORT",
"reference": "DOC-2023-001",
"radical": "CLI",
"documentNatureCode": "CONT001",
"documentName": "Contract Agreement",
"confidential": "Y",
"file": "contract_12345.pdf",
"fileBytes": "string",
"codeBanque": "BNK001"
}
],
"function": "EMPLOYEE",
"offerType": "PREMIUM_PACKAGE",
"documentID": "passport.pdf",
"photo": "profile.jpg",
"addressProof": "utility_bill.pdf",
"incomeProof": "payslip.pdf",
"agency": "00020",
"other": "Additional notes",
"commercialOffers": [
"193"
],
"professionalProfiles": [
"TRADE_FINANCE_CAUTION_BO",
"TRADE_FINANCE_GUARANTEE_BO",
"BO_CREATEUR_VALIDATEUR"
],
"languageCode": "EN",
"filesContent": [
{
"fileName": "document.pdf",
"fileContent": "base64_encoded_content",
"fileType": "pdf",
"radical": "CLI",
"codeBanque": "00014"
}
],
"hireDate": "23-08-2023",
"accountNumber": "1234567890",
"statusLabel": "Active Account",
"requestId": "EER00085C_ADRIA",
"incomeBracketCode": "B3"
}
],
"total": 0,
"page": 0,
"size": 0,
"totalPages": 0
}
}