Changes for page ../credit-account-onboarding
Last modified by David Persson on 2020/04/21 08:18
From version 41.1
edited by Magnus Kull
on 2020/02/27 09:25
on 2020/02/27 09:25
To version 42.1
edited by David Persson
on 2020/02/29 19:52
on 2020/02/29 19:52
Change comment: There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. otr1 +xwiki:XWiki.dap - Content
-
... ... @@ -9,6 +9,10 @@ 9 9 (% id="HChangelog" %) 10 10 = Changelog = 11 11 12 +2020-02-28 13 + 14 +* minor changes in kyc object structure 15 + 12 12 2020-02-14 13 13 14 14 * changed KYC object in ApplicationResource ... ... @@ -151,43 +151,55 @@ 151 151 "kyc": { 152 152 "questions":[ 153 153 { 154 - "questionCode": "employment", 155 - "question": "Vad är din sysselsättning?", 156 - "answerCode": "self-employed", 157 - "answerText": "Egen företagare" 158 + "code": "employment", 159 + "text": "Vad är din sysselsättning?", 160 + "answer" : { 161 + "code": "self-employed", 162 + "text": "Egen företagare" 163 + } 158 158 }, 159 159 { 160 - "questionCode": "employment-since", 161 - "question": "Hur länge har du haft denna sysselsättning?", 162 - "answerCode": "2016-09", 163 - "answerText": "2016-09" 166 + "code": "employment-since", 167 + "text": "Hur länge har du haft denna sysselsättning?", 168 + "answer" : { 169 + "code": "2016-09", 170 + "text": "2016-09" 171 + } 164 164 }, 165 165 { 166 - "questionCode": "monthlyIncome", 167 - "question": "Månadsinkomst före skatt", 168 - "answerCode": "10000.00", 169 - "answerText": "10000" 174 + "code": "monthlyIncome", 175 + "text": "Månadsinkomst före skatt", 176 + "answer" : { 177 + "code": "10000.00", 178 + "text": "10000" 179 + } 170 170 }, 171 171 { 172 - "questionCode": "monthlyPurchaseAmount", 173 - "question": "Hur mycket kommer du genomsnitt att handla på ditt kort?", 174 - "answerCode": "3000.00", 175 - "answerText": "3000" 182 + "code": "monthlyPurchaseAmount", 183 + "text": "Hur mycket kommer du genomsnitt att handla på ditt kort?", 184 + "answer" : { 185 + "code": "3000.00", 186 + "text": "3000" 187 + } 176 176 }, 177 177 { 178 - "questionCode": "monthlyNumberOfDeposits", 179 - "question": "Hur många inbetalningar kommer du att göra per månad?", 180 - "answerCode": "1-2", 181 - "answerText": "1-2" 190 + "code": "monthlyNumberOfDeposits", 191 + "text": "Hur många inbetalningar kommer du att göra per månad?", 192 + "answer" : { 193 + "code": "1-2", 194 + "text": "1-2" 195 + } 182 182 }, 183 183 { 184 - "questionCode": "IsPep", 185 - "question": "Är du en person i politiskt utsatt ställning (PEP), det vill säga.....", 186 - "answerCode": "true", 187 - "answerText": "Ja" 198 + "code": "IsPep", 199 + "text": "Är du en person i politiskt utsatt ställning (PEP), det vill säga.....", 200 + "answer" : { 201 + "code" : "true", 202 + "text" : "Ja" 203 + } 188 188 } 189 189 ] 190 - } ,206 + } 191 191 } 192 192 {{/code}} 193 193 ... ... @@ -238,40 +238,52 @@ 238 238 "kyc": { 239 239 "questions":[ 240 240 { 241 - "questionCode": "employment", 242 - "question": "Vad är din sysselsättning?", 243 - "answerCode": "self-employed", 244 - "answerText": "Egen företagare" 257 + "code": "employment", 258 + "text": "Vad är din sysselsättning?", 259 + "answer" : { 260 + "code": "self-employed", 261 + "text": "Egen företagare" 262 + } 245 245 }, 246 246 { 247 - "questionCode": "employment-since", 248 - "question": "Hur länge har du haft denna sysselsättning?", 249 - "answerCode": "2016-09", 250 - "answerText": "2016-09" 265 + "code": "employment-since", 266 + "text": "Hur länge har du haft denna sysselsättning?", 267 + "answer" : { 268 + "code": "2016-09", 269 + "text": "2016-09" 270 + } 251 251 }, 252 252 { 253 - "questionCode": "monthlyIncome", 254 - "question": "Månadsinkomst före skatt", 255 - "answerCode": "10000.00", 256 - "answerText": "10000" 273 + "code": "monthlyIncome", 274 + "text": "Månadsinkomst före skatt", 275 + "answer" : { 276 + "code": "10000.00", 277 + "text": "10000" 278 + } 257 257 }, 258 258 { 259 - "questionCode": "monthlyPurchaseAmount", 260 - "question": "Hur mycket kommer du genomsnitt att handla på ditt kort?", 261 - "answerCode": "3000.00", 262 - "answerText": "3000" 281 + "code": "monthlyPurchaseAmount", 282 + "text": "Hur mycket kommer du genomsnitt att handla på ditt kort?", 283 + "answer" : { 284 + "code": "3000.00", 285 + "text": "3000" 286 + } 263 263 }, 264 264 { 265 - "questionCode": "monthlyNumberOfDeposits", 266 - "question": "Hur många inbetalningar kommer du att göra per månad?", 267 - "answerCode": "1-2", 268 - "answerText": "1-2" 289 + "code": "monthlyNumberOfDeposits", 290 + "text": "Hur många inbetalningar kommer du att göra per månad?", 291 + "answer" : { 292 + "code": "1-2", 293 + "text": "1-2" 294 + } 269 269 }, 270 270 { 271 - "questionCode": "IsPep", 272 - "question": "Är du en person i politiskt utsatt ställning (PEP), det vill säga.....", 273 - "answerCode": "true", 274 - "answerText": "Ja" 297 + "code": "IsPep", 298 + "text": "Är du en person i politiskt utsatt ställning (PEP), det vill säga.....", 299 + "answer" : { 300 + "code" : "true", 301 + "text" : "Ja" 302 + } 275 275 } 276 276 ] 277 277 }, ... ... @@ -315,9 +315,10 @@ 315 315 |(% style="width:215px" %)account|(% style="width:114px" %)string|(% style="width:118px" %)Uri|(% style="width:586px" %)Reference to created account 316 316 |(% style="width:215px" %)kyc|(% style="width:114px" %)object|(% style="width:118px" %) |(% style="width:586px" %)kyc (know your customer). The questions and answers in the above example are just examples of what it might look like. This API does not validate that "correct" questions are asked 317 317 |(% style="width:215px" %)kyc.questions|(% style="width:114px" %)list of objects|(% style="width:118px" %) |(% style="width:586px" %) 318 -|(% style="width:215px" %)kyc.questions.questionCode|(% style="width:114px" %)string|(% style="width:118px" %) |(% style="width:586px" %)The code definition of the question 319 -|(% style="width:215px" %)kyc.questions.question|(% style="width:114px" %)string|(% style="width:118px" %) |(% style="width:586px" %)The actual question text that was presented to the end-customer 320 -|(% style="width:215px" %)kyc.questions.aswer|(% style="width:114px" %)string|(% style="width:118px" %) |(% style="width:586px" %)The answer from the end-customer 346 +|(% style="width:215px" %)kyc.questions.code|(% style="width:114px" %)string|(% style="width:118px" %) |(% style="width:586px" %)The code definition of the question 347 +|(% style="width:215px" %)kyc.questions.text|(% style="width:114px" %)string|(% style="width:118px" %) |(% style="width:586px" %)The actual question text that was presented to the end-customer 348 +|(% style="width:215px" %)kyc.questions.aswer.code|(% style="width:114px" %)string|(% style="width:118px" %) |(% style="width:586px" %)The answered code definition from the end-customer 349 +|(% style="width:215px" %)kyc.questions.aswer.text|(% style="width:114px" %)string|(% style="width:118px" %) |(% style="width:586px" %)The actual displayed answertext that was presented to the customer 321 321 322 322 == Sign-agreement (Operation) == 323 323