--- swagger: "2.0" info: x-ibm-name: lending title: Lending version: 1.0.0 description: "" schemes: - https basePath: /lending consumes: - application/json produces: - application/json securityDefinitions: Client-Secret: type: apiKey description: "" in: header name: X-IBM-Client-Secret clientIdHeader: type: apiKey in: header name: X-IBM-Client-Id security: - clientIdHeader: [] Client-Secret: [] x-ibm-configuration: testable: true enforced: true phase: realized paths: /StatementInq: post: responses: 200: description: 200 OK parameters: - name: payload required: false in: body schema: $ref: '#/definitions/StatementInqRequest' /CustomerDebit: parameters: - name: payload required: false in: body schema: $ref: '#/definitions/CustomerDebitRequest' post: responses: 200: description: 200 OK /RegistryInq: parameters: - name: payload required: false in: body schema: $ref: '#/definitions/RegistryInqRequest' post: responses: 200: description: 200 OK /Registry: parameters: - name: payload required: false in: body schema: $ref: '#/definitions/RegistryRequest' post: responses: 200: description: 200 OK definitions: RegistryRequest: description: "" type: object properties: requestId: type: string providerId: type: string merchantId: type: string clientIP: type: string channel: type: string encodedProfiles: type: array items: properties: fileName: type: string fileData: type: string type: object ApplicationInfo: type: object properties: applicationType: type: string natureOfRequest: type: string saleType: type: string bookingBranch: type: string saleStaffCode: type: string saleStaffname: type: string additionAttributes: type: array items: properties: code: type: string type: type: string value: type: string type: object customerInfo: type: object properties: idType: type: string idNo: type: string customerName: type: string idExpirityDate: type: string idIssuePlace: type: string idIssueCountry: type: string idIssueDate: type: string gender: type: string titleType: type: string titleCode: type: string numberDependents: type: string nationality: type: string race: type: string birthDate: type: string maritalStatus: type: string highestEducation: type: string residentStatus: type: string residentProvince: type: string residentDistrict: type: string residentAddress: type: string residentCountry: type: string residentType: type: string address: type: string addressProvince: type: string addressDistrict: type: string addressCountry: type: string mobileNo: type: string livingTimeCurAddress: type: string spTitleType: type: string spTitleCode: type: string spCustName: type: string spIdType: type: string spIdNo: type: string spBirthDate: type: string stopLoanType: type: string legalPersonalityStatus: type: string isRestricedLoan: type: string meetZoneRequire: type: string workingExp: type: string additionAttributes: type: array items: properties: code: type: string type: type: string value: type: string type: object employmentInfo: type: object properties: employmentStatus: type: string occupation: type: string professional: type: string businessType: type: string businessSubType: type: string employmentBizNature: type: string rmOccupation: type: string companyType: type: string companyName: type: string employmentYear: type: string employmentMonth: type: string empContractType: type: string workingAddress: type: string workingProvince: type: string workingDistrict: type: string workingCountry: type: string workingPhone: type: string additionAttributes: type: array items: properties: code: type: string type: type: string value: type: string type: object incomeInfo: type: object properties: incomeType: type: string bankName: type: string bankAccount: type: string basicSalary: type: string specialAllowance: type: string monthlyExpense: type: string additionAttributes: type: array items: properties: code: type: string type: type: string value: type: string type: object cardInfo: type: object properties: renewalStatus: type: string secureType: type: string contractType: type: string productType: type: string campainCode: type: string customerSegment: type: string cardName: type: string tempEndDate: type: string paymentMethod: type: string debitAccount: type: string paymentCriteria: type: string cardDelivery: type: string mailingPreference: type: string isEnoughProfile: type: string totalCreditLimit: type: string hasInsurance: type: string isCardHolderOtherMain: type: string maxRequestLimit: type: string notifyPhoneNumber: type: string contractCode: type: string creditLimitAdjust: type: string additionAttributes: type: array items: properties: code: type: string type: type: string value: type: string type: object language: type: string version: type: string mac: type: string transTime: type: string additionAttributes: type: array items: properties: code: type: string type: type: string value: type: string type: object signature: type: string example: "{\n \"requestId\": \"LIST123456789\",\n \"providerId\":\"003\",\n \ \"merchantId\":\"2018\", \n \"clientIP\":\"192.168.4.5\",\n \"channel\":\"58\",\n \ \"encodedProfiles\":[\n {\n \"fileName\":\"58\", \n \"fileData\":\"abcxyz\"\n \ }\n ],\n\"ApplicationInfo\":{ \n \"applicationType\":\"\",\n \"natureOfRequest\":\"\",\n \ \"saleType\":\"\",\n \"bookingBranch\":\"\",\n \"saleStaffCode\":\"\",\n \ \"saleStaffname\":\"\",\n \"additionAttributes\":[\n {\n \"code\":\"\",\n \ \"type\":\"\",\n \"value\":\"\"\n }\n ]\n },\n \ \"customerInfo\":{ \n \"idType\":\"\",\n \"idNo\":\"\",\n \"customerName\":\"\",\n \ \"idExpirityDate\":\"\",\n \"idIssuePlace\":\"\",\n \"idIssueCountry\":\"\",\n \ \"idIssueDate\":\"\",\n \"gender\":\"\",\n \"titleType\":\"\",\n \ \"titleCode\":\"\",\n \"numberDependents\":\"\",\n \"nationality\":\"\",\n \ \"race\":\"\",\n \"birthDate\":\"\",\n \"maritalStatus\":\"\",\n \ \"highestEducation\":\"\",\n \"residentStatus\":\"\",\n \"residentProvince\":\"\",\n \ \"residentDistrict\":\"\",\n \"residentAddress\":\"\",\n \"residentCountry\":\"\",\n \ \"residentType\":\"\",\n \"address\":\"\",\n \"addressProvince\":\"\",\n \ \"addressDistrict\":\"\",\n \"addressCountry\":\"\",\n \"mobileNo\":\"\",\n \ \"livingTimeCurAddress\":\"\",\n \"spTitleType\":\"\",\n \"spTitleCode\":\"\",\n \ \"spCustName\":\"\",\n \"spIdType\":\"\",\n \"spIdNo\":\"\",\n \ \"spBirthDate\":\"\",\n \"stopLoanType\":\"\",\n \"legalPersonalityStatus\":\"\",\n \ \"isRestricedLoan\":\"\",\n \"meetZoneRequire\":\"\",\n \"workingExp\":\"\",\n \ \"additionAttributes\":[\n {\n \"code\":\"\",\n \"type\":\"\",\n \ \"value\":\"\"\n }\n ]\n },\n \"employmentInfo\":{ \n \ \"employmentStatus\":\"\",\n \"occupation\":\"\",\n \"professional\":\"\",\n \ \"businessType\":\"\",\n \"businessSubType\":\"\",\n \"employmentBizNature\":\"\",\n \ \"rmOccupation\":\"\",\n \"companyType\":\"\",\n \"companyName\":\"\",\n \ \"employmentYear\":\"\",\n \"employmentMonth\":\"\",\n \"empContractType\":\"\",\n \ \"workingAddress\":\"\",\n \"workingProvince\":\"\",\n \"workingDistrict\":\"\",\n \ \"workingCountry\":\"\",\n \"workingPhone\":\"\",\n \"additionAttributes\":[\n \ {\n \"code\":\"\",\n \"type\":\"\",\n \"value\":\"\"\n \ }\n ]\n },\n \"incomeInfo\":{ \n \"incomeType\":\"\",\n \ \"bankName\":\"\", \n \"bankAccount\":\"\",\n \"basicSalary\":\"\",\n \ \"specialAllowance\":\"\",\n \"monthlyExpense\":\"\",\n \"additionAttributes\":[\n \ {\n \"code\":\"\",\n \"type\":\"\",\n \"value\":\"\"\n \ }\n ]\n },\n \"cardInfo\":{ \n \t \"renewalStatus\":\"\",\n \ \"secureType\":\"\",\n \"contractType\":\"\",\n \"productType\":\"\",\n \ \"campainCode\":\"\",\n \"customerSegment\":\"\",\n \"cardName\":\"\",\n \ \"tempEndDate\":\"\",\n \"paymentMethod\":\"\",\n \"debitAccount\":\"\",\n \ \"paymentCriteria\":\"\",\n \"cardDelivery\":\"\",\n \"mailingPreference\":\"\",\n \ \"isEnoughProfile\":\"\",\n \"totalCreditLimit\":\"\",\n \"hasInsurance\":\"\",\n \ \"isCardHolderOtherMain\":\"\",\n \"maxRequestLimit\":\"\",\n \"notifyPhoneNumber\":\"\", \t \n \"contractCode\":\"\", \n \"creditLimitAdjust\":\"\", \n \"additionAttributes\":[\n \ {\n \"code\":\"\",\n \"type\":\"\",\n \"value\":\"\"\n \ }\n ]\n },\n\"language\":\"vi\", \n\"version\":\"1.0\",\n\"mac\": \"\", \n\"transTime\": \"20180612123044\",\n\"additionAttributes\":[\n {\n \ \"code\":\"\",\n \"type\":\"\",\n \"value\":\"\"\n \ }\n ],\n \"signature\":\"\"\n}\n" RegistryInqRequest: description: "" type: object properties: requestId: type: string providerId: type: string merchantId: type: string requestCustomers: type: array items: properties: idType: type: string idNo: type: string type: object clientIP: type: string version: type: string channel: type: string language: type: string mac: type: string signature: type: string example: "{\n\"requestId\": \"HC123456789\",\n\"providerId\":\"003\",\n\"merchantId\":\"2018\",\n\"requestCustomers\":[ \n { \n \"idType\":\"\",\n \"idNo\":\"\"\n }\n ],\n\"clientIP\":\"192.168.4.5\",\n\"version\":\"1.0\",\n\"channel\":\"58\",\n\"language\":\"vi\",\n\"mac\":\"\",\n\"signature\":\"\"\n}\n" CustomerDebitRequest: description: "" type: object properties: requestId: type: string providerId: type: string merchantId: type: string refId: type: string custName: type: string contractNo: type: string cardType: type: string merchantName: type: string debitAmount: type: string installmentTerm: type: string productDes: type: string transTime: type: string channel: type: string version: type: string language: type: string clientIP: type: string mac: type: string signature: type: string example: "{\n \"requestId\" : \"4278487569\",\n \"providerId\" : \"Mobivi\",\n \"merchantId\" : \"Mobivi\",\n \"refId\":\"999\",\n \"custName\":\"NGUYEN DUC THANG\",\n \"contractNo\":\"CRDICA56310\",\n \"cardType\":\"Icare\",\n \"merchantName\":\"Mobivi\",\n \"debitAmount\":\"2000000\",\n \"installmentTerm\":\"12\",\n \"productDes\":\"Test san pham\",\n \"transTime\" : \"20170522101211\",\n \"channel\" : \"MOBILE\",\n \"version\" : \"1.0\",\n \"language\" : \"vi\",\n \"clientIP\" : \"192.168.3.4\",\n \"mac\":\"\",\n \"signature\" : \"\" \n}" StatementInqRequest: description: "" type: object properties: requestId: type: string providerId: type: string merchantId: type: string StatementDate: type: string transTime: type: string channel: type: string version: type: string language: type: string clientIP: type: string mac: type: string signature: type: string example: "{\r\n\"requestId\": \"HC123456789\",\r\n\"providerId\":\"Mobivi\",\r\n\"merchantId\":\"2018\",\r\n\"StatementDate\": \"09/10/2019\",\t\r\n\"transTime\" : \"20170522101211\",\r\n\"channel\" : \"MOBILE\",\r\n\"version\" : \"1.0\",\r\n\"language\" : \"vi\",\r\n\"clientIP\" : \"192.168.3.4\",\r\n\"mac\" : \"\",\r\n\"signature\" : \"\"\r\n}\r\n" tags: [] x-ibm-endpoints: - endpointUrl: https://sandbox.vietinbank.vn description: Environment for SANDBOX type: - production - development ...