Download OpenAPI specification:Download
Department controller has API methods that enable you to manage department(s) in a company. Add a new department or change the Head of Department (HOD). Get list of departments in the company and update the information about a department. Set and view monthly, weekly or yearly ATM, POS or ecommerce limits of a specific department.
Add department with department limit.
Department search request information
OK
Bad Request
Internal Server Error
{- "CompanyID": 20365,
- "DepartmentName": "DepartmentName",
- "DepartmentCode": "Dept",
- "DepartmentDescription": "Department Description",
- "DepartmentHeadConsumerID": 63785,
- "LocationID": 10,
- "TermsLimitReq": {
- "ATMDailyLimit": 100,
- "ATMWeeklyLimit": 200,
- "ATMMonthlyLimit": 300,
- "ATMYearlyLimit": 400,
- "POSDailyLimit": 100,
- "POSWeeklyLimit": 200,
- "POSMonthlyLimit": 300,
- "POSYearlyLimit": 400,
- "DailyTotalLimit": 1000,
- "WeeklyTotalLimit": 2000,
- "MonthlyTotalLimit": 3000,
- "YearlyTotalLimit": 4000,
- "ECommDailyLimit": 100,
- "ECommWeeklyLimit": 200,
- "ECommMonthlyLimit": 300,
- "ECommYearlyLimit": 400
}, - "ClientRequestReference": "[ReferenceExample]",
- "CultureID": 1
}
{- "DepartmentID": 2500,
- "Description": "Success",
- "ResponseCode": "000",
- "ResponseDateTime": "2021-12-21T13:58:02.899",
- "ClientRequestReference": "reference",
- "RequestID": 27194
}
Changes the Head of Department (HOD).
ChangeHODReq
OK
Bad Request
Internal Server Error
{- "DepartmentID": 1017,
- "NewHODConsumerID": 63726,
- "ClientRequestReference": "[ReferenceExample]",
- "CultureID": 1
}
{- "Description": "Success",
- "ResponseCode": "000",
- "ResponseDateTime": "2021-12-21T13:58:02.899",
- "ClientRequestReference": "reference",
- "RequestID": 27194
}
Returns POS, ATM and ecommerce spend limits of the department.
GetLimitsReq
OK
Bad Request
Internal Server Error
{- "CompanyID": 20365,
- "DepartmentID": 1017,
- "ClientRequestReference": "[ReferenceExample]",
- "CultureID": 1
}
{- "Limit": {
- "ATMDailyLimit": 10,
- "ATMWeeklyLimit": 10,
- "ATMMonthlyLimit": 10,
- "ATMYearlyLimit": 10,
- "POSDailyLimit": 10,
- "POSWeeklyLimit": 10,
- "POSMonthlyLimit": 10,
- "POSYearlyLimit": 10,
- "DailyTotalLimit": 100,
- "WeeklyTotalLimit": 100,
- "MonthlyTotalLimit": 100,
- "YearlyTotalLimit": 100,
- "ECommDailyLimit": 5,
- "ECommWeeklyLimit": 5,
- "ECommMonthlyLimit": 5,
- "ECommYearlyLimit": 5
}, - "LimitUsed": {
- "ATMDailyLimit": 10,
- "ATMWeeklyLimit": 10,
- "ATMMonthlyLimit": 10,
- "ATMYearlyLimit": 10,
- "POSDailyLimit": 10,
- "POSWeeklyLimit": 10,
- "POSMonthlyLimit": 10,
- "POSYearlyLimit": 10,
- "DailyTotalLimit": 100,
- "WeeklyTotalLimit": 100,
- "MonthlyTotalLimit": 100,
- "YearlyTotalLimit": 100,
- "ECommDailyLimit": 5,
- "ECommWeeklyLimit": 5,
- "ECommMonthlyLimit": 5,
- "ECommYearlyLimit": 5
}, - "Description": "Success",
- "ResponseCode": "000",
- "ResponseDateTime": "2021-12-21T13:58:02.899",
- "ClientRequestReference": "reference",
- "RequestID": 27194
}
Returns name, description and location of the department.
Department search request information
OK
Bad Request
Internal Server Error
{- "CompanyID": 19288,
- "DepartmentID": 2,
- "ClientRequestReference": "[ReferenceExample]",
- "CultureID": 1
}
{- "Department": {
- "DepartmentID": 2,
- "CompanyID": 19288,
- "TermLimitID": 17,
- "DepartmentName": "DemoExample Group Ind Dept.",
- "DepartmentCode": "Dept - 1",
- "DepartmentDescription": "Description of Solaris India",
- "DepartmentHeadConsumerID": 63726,
- "LocationID": 1
}, - "Description": "Success",
- "ResponseCode": "000",
- "ResponseDateTime": "2021-12-21T13:58:02.899",
- "ClientRequestReference": "reference",
- "RequestID": 27194
}
Returns list of personal and account information of primary and secondary consumers by Company Id and Department Id.
ListConsumersReq
OK
Bad Request
Internal Server Error
{- "CompanyDetailID": 1,
- "BusinessDepartmentID": 1,
- "ClientRequestReference": "[ReferenceExample]",
- "CultureID": 1
}
{- "DepartmentID": 2,
- "DepartmentName": "DemoExample Group Ind Dept.",
- "ConsumerResList": [
- {
- "ConsumerPersonalRes": {
- "IsDepartmentHead": true,
- "ConsumerID": 73896,
- "Title": 1,
- "FirstName": "Darshit",
- "LastName": "Desai",
- "CardDisplayName": "",
- "Gender": "M",
- "DOB": "2021-09-20T15:08:30.7399266+05:30",
- "ConsumerType": 1,
- "Relationship": 1,
- "Passportnumber": "",
- "PassportExpiryDate": "2020-07-03T17:26:06.1076331+05:30",
- "Drivinglicence": "",
- "DrivingLicenceExpiryDate": "2019-08-24T14:15:22Z",
- "Nationalidcardline1": "",
- "Nationalidcardline2": "",
- "NationalIDCardExpiryDate": "2019-08-24T14:15:22Z",
- "Nationality": "",
- "SocialSecurityNumber": "1236",
- "KYCClientReferenceID": "00000000-0000-0000-0000-000000000000",
- "KYCStatusID": 2,
- "ShipmentMethodCode": "BULK044",
- "ExpectedYearlySpend": 0,
- "PersonalIdentificationNumber": "11223456789",
- "TransactionVolume": 0,
- "PurposeofAccount": 0,
- "Occupation": 0,
- "OccupationDescription": "",
- "CountryofBirth": "826(UK)",
- "Citizenship": "826(UK)",
- "OtherDocumentName": "Fire arms",
- "OtherDocumentDetails": "12345dfsmsms",
- "OtherDocumentExpiryDate": "2024-12-21T13:58:03.0734254+05:30"
}, - "ContactRes": {
- "EmailAddress": "darshit.desai@demogroup.com",
- "MobileNumber": "449824320432",
- "MobileNumberCountryCode": "44",
- "MobileNumberISOCountryCode": "",
- "IsMobileVerified": false,
- "AddressRes": {
- "BuildingNo": "4",
- "BuildingName": "Navigation House",
- "Subbuilding": "",
- "SubStreet": "",
- "Street": "Belmont Wharf",
- "Town": "Skipton",
- "County": "",
- "District": "North Yorkshire",
- "Country": "UK",
- "Postcode": "BD23 1RL",
- "AddressLine1": "101 South Street",
- "AddressLine2": "Nr. Highland",
- "AddressLine3": "Opp. Fun Park",
- "Region": "North West",
- "Organization": "DemoExample Group",
- "ISOCountryCode": "826"
}
}
}
], - "Description": "Success",
- "ResponseCode": "000",
- "ResponseDateTime": "2021-12-21T13:58:02.899",
- "ClientRequestReference": "reference",
- "RequestID": 27194
}
Returns the list of departments in the company.
Department search request information
OK
Bad Request
Internal Server Error
{- "CompanyID": 20365,
- "ClientRequestReference": "[ReferenceExample]",
- "CultureID": 1
}
{- "DepartmentRes": [
- {
- "DepartmentID": 2,
- "CompanyID": 19288,
- "TermLimitID": 17,
- "DepartmentName": "DemoExample Group Ind Dept.",
- "DepartmentCode": "Dept - 1",
- "DepartmentDescription": "Description of Solaris India",
- "DepartmentHeadConsumerID": 63726,
- "LocationID": 1
}
], - "Description": "Success",
- "ResponseCode": "000",
- "ResponseDateTime": "2021-12-21T13:58:02.899",
- "ClientRequestReference": "reference",
- "RequestID": 27194
}
Returns list of uncleared/pending card transactions.
ListPendingCardAuthorizationsReq
OK
Bad Request
Internal Server Error
{- "DepartmentID": 14023,
- "ClientRequestReference": "[ReferenceExample]",
- "CultureID": 1
}
{- "AuthorizationResList": [
- {
- "CardID": 14023,
- "AuthorizationID": 922337,
- "CardTransactionID": 18135053041396,
- "SystemDate": "2021-11-12T13:27:33.4288892+05:30",
- "AuthorizationDate": "2021-11-12T13:27:33.4298892+05:30",
- "AuthorizedAmount": 4050,
- "AuthorizedAmountISOCurrencyCode": "826",
- "LocalAmount": 4050,
- "LocalAmountISOCurrencyCode": "840",
- "CashBackAmount": 0,
- "FeeAmount": 0,
- "IsCredit": false,
- "ProcessingCodeID": "1",
- "CardAcceptorID": "IP",
- "TerminalCode": "TERMID01",
- "TerminalLocation": "ACQUIRER NAME",
- "TerminalStreet": "",
- "TerminalCity": "CITY NAME",
- "TerminalCountry": "US",
- "MCC": "6011",
- "TokenReferenceNumber": 636420250468403000,
- "IsPinPresent": true,
- "IsCardPresent": true,
- "RRN": "813514001395",
- "ApprovalCode": "001395",
- "TransactionIndicator": "0",
- "Description": "",
- "AccountIdentifier": 258370,
- "AccountNumber": "02583700",
- "SortCode": "623053",
- "IBAN": "GB35CNFV60837000000570",
- "BIC": "CNFVGB21XXX"
}
], - "Description": "Success",
- "ResponseCode": "000",
- "ResponseDateTime": "2021-12-21T13:58:02.899",
- "ClientRequestReference": "reference",
- "RequestID": 27194
}
Returns list of transactions based on search criteria
The object req information.
OK
Bad Request
Internal Server Error
{- "DepartmentID": 1,
- "FromDate": "2021-01-10T10:03:09.5228713Z",
- "ToDate": "2021-01-11T10:03:09.5228713Z",
- "Reference": "",
- "RowIndex": 1,
- "Pagesize": 5,
- "ClientRequestReference": "[ReferenceExample]",
- "CultureID": 1
}
{- "TotalRows": 259,
- "TransactionResList": [
- {
- "TransactionID": 2325164,
- "LocalTransactionDate": "2021-11-12T00:00:00+05:30",
- "UTCTransactionDate": "2021-11-12T00:00:00Z",
- "Description": "Account Withdraw",
- "TransactionType": 1,
- "ReferenceNumber": "Withdraw 123",
- "ClientReferenceNumber": "",
- "IsDebit": true,
- "TransactionAmount": 100,
- "RunningAccountBalance": 88150,
- "SenderSortCode": "",
- "SenderAccountNumber": "",
- "SenderIBAN": "",
- "SenderBIC": "",
- "SenderName": "",
- "SenderAddress": "",
- "ChargeRefTransactionID": 12484,
- "TransactionSubType": 1,
- "AccountIdentifier": 258370,
- "AccountNumber": "02583700",
- "SortCode": "623053",
- "IBAN": "GB35CNFV60837000000570",
- "BIC": "CNFVGB21XXX"
}
], - "Description": "Success",
- "ResponseCode": "000",
- "ResponseDateTime": "2021-12-21T13:58:02.899",
- "ClientRequestReference": "reference",
- "RequestID": 27194
}
Set up POS, ATM and ecommerce spend limit of the department.
SetLimitsReq
OK
Bad Request
Internal Server Error
{- "CompanyID": 20365,
- "DepartmentID": 1017,
- "ATMDailyLimit": 100,
- "ATMWeeklyLimit": 200,
- "ATMMonthlyLimit": 300,
- "ATMYearlyLimit": 400,
- "POSDailyLimit": 100,
- "POSWeeklyLimit": 200,
- "POSMonthlyLimit": 300,
- "POSYearlyLimit": 400,
- "DailyTotalLimit": 1000,
- "WeeklyTotalLimit": 2000,
- "MonthlyTotalLimit": 3000,
- "YearlyTotalLimit": 4000,
- "ECommDailyLimit": 100,
- "ECommWeeklyLimit": 200,
- "ECommMonthlyLimit": 300,
- "ECommYearlyLimit": 400,
- "ClientRequestReference": "[ReferenceExample]",
- "CultureID": 1
}
{- "Description": "Success",
- "ResponseCode": "000",
- "ResponseDateTime": "2021-12-21T13:58:02.899",
- "ClientRequestReference": "reference",
- "RequestID": 27194
}
Update detail of company's department.
OK
Bad Request
Internal Server Error
{- "CompanyID": 19288,
- "DepartmentID": 1068,
- "DepartmentName": "IT Department",
- "DepartmentCode": "ITDEPT1",
- "DepartmentDescription": "Software development",
- "LocationID": 2,
- "ClientRequestReference": "[ReferenceExample]",
- "CultureID": 1
}
{- "Description": "Success",
- "ResponseCode": "000",
- "ResponseDateTime": "2021-12-21T13:58:02.899",
- "ClientRequestReference": "reference",
- "RequestID": 27194
}