-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopenapi.json
More file actions
4475 lines (4475 loc) · 143 KB
/
openapi.json
File metadata and controls
4475 lines (4475 loc) · 143 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"openapi": "3.0.1",
"info": {
"title": "Bankuity API Service (3.2025.11.1401)",
"description": "<style>h1, h2 {color: #2c3e50;border-bottom: 2px solid #eee;padding-bottom: 10px;}.description {background-color: #f8f9fa;padding: 20px;border-radius: 5px;margin: 20px 0;}.features {display: grid;grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));gap: 24px;margin: 32px 0;}.feature-card {background: white;padding: 28px;border-radius: 16px;box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);transition: transform 0.2s ease, box-shadow 0.2s ease;border: 1px solid #f0f0f0;display: flex;flex-direction: column;gap: 16px;}.feature-card:hover {transform: translateY(-2px);box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);}.feature-icon {width: 48px;height: 48px;background: #f8f9fa;border-radius: 12px;display: flex;align-items: center;justify-content: center;margin-bottom: 8px;}.feature-card h3 {margin: 0;font-size: 1.25rem;color: #2c3e50;font-weight: 600;}.feature-card p {margin: 0;color: #64748b;font-size: 0.95rem;line-height: 1.7;}.feature-meta {margin-top: auto;font-size: 0.875rem;color: #94a3b8;}.note {background-color: #e7f3fe;border-left: 4px solid #2196F3;padding: 15px;margin: 20px 0;}code {background: #f5f5f5;padding: 2px 5px;border-radius: 3px;font-family: monospace;}.auth-table {width: 100%;border-collapse: collapse;margin: 20px 0;background: white;border-radius: 10px;overflow: hidden;box-shadow: 0 2px 4px rgba(0,0,0,0.1);}.auth-table td, .auth-table th {padding: 12px 15px;text-align: left;}.auth-table tr {border-bottom: 1px solid #eee;}.auth-table tr:last-child {border-bottom: none;}</style><h1>Bankuity API</h1><div class=\"description\"><p>The Bankuity API provides comprehensive financial analysis capabilities through a RESTful interface. This API enables developers to access sophisticated income analysis, loan assessment, and financial risk evaluation services based on bank statement data.</p></div><h2>Key Capabilities</h2><div class=\"features\"><div class=\"feature-card\"><h3>Income Analysis</h3><p>Advanced financial pattern detection that identifies and verifies income sources, evaluates stability, and provides detailed transaction insights. Our machine learning models ensure accurate categorization across multiple income streams.</p><div class=\"feature-meta\"> Powered by ML-based transaction analysis</div></div><div class=\"feature-card\"><h3>Risk Assessment</h3><p>Comprehensive risk evaluation using advanced behavioral analytics and predictive modeling. Get deep insights into repayment probability and risk factors through our sophisticated ML algorithms.</p><div class=\"feature-meta\"> Real-time risk scoring engine</div></div><div class=\"feature-card\"><h3>Lending Intelligence</h3><p>Data-driven lending recommendations that optimize loan amounts and terms based on thorough financial analysis. Get intelligent insights for structuring loans that balance risk and opportunity.</p><div class=\"feature-meta\">AI-powered decision support</div></div></div><h2>Authentication</h2><p>The API requires two authentication keys for all requests:</p><table class=\"auth-table\"><tr><th>Key Type</th><th>Header Format</th><th>Description</th></tr><tr><td>Subscription Key</td><td><code>Ocp-Apim-Subscription-Key: {YOUR_SUBSCRIPTION_KEY}</code></td><td>Your organization's unique identifier, provided during onboarding</td></tr><tr><td>API Key</td><td><code>Authorization: {YOUR_API_KEY}</code></td><td>Access key for specific endpoints, provided by the Bankuity API team</td></tr></table><div class=\"note\"><strong>Important:</strong> API keys are private and should never be shared or exposed in client-side code. Always store keys securely and use appropriate security measures when implementing the API.</div><h2>Data Processing</h2><p>The API processes financial data through several sophisticated steps:</p><ol><li>Transaction categorization and enrichment</li><li>Income pattern recognition and source identification</li><li>Risk factor analysis and scoring</li><li>Lending recommendation generation</li><li>Alert and insight derivation</li></ol><div class=\"note\"><strong>Version Information:</strong> This documentation covers version 1 (v1) of the Bankuity API. All endpoints are prefixed with /v1 unless otherwise specified.</div>",
"version": "v1"
},
"paths": {
"/v2/analysis/insights": {
"post": {
"tags": ["ApiFeatures"],
"summary": "Get Post On-Boarding Insights",
"description": "<h3>The method returns the result corresponding to the requestCode.</h3>\r\n<p>The request code is checked in the database for the specified date, and if this information is not available, it is taken from the IBV provider and analyzed. If the date of an earlier snapshot is specified, then the difference between the two snapshots is analyzed.</p>\r\n<p>\r\n <i>Sample request:</i>\r\n</p>\r\n<p>POST v2/analysis/insights?requestCode=N4RHKX&ibvProviderName=Chirp&asOfDate=2025-01-16&postOnboardingRefDate=2024-12-10</p>",
"parameters": [
{
"name": "requestCode",
"in": "query",
"description": "The IBV provider request code.",
"schema": {
"type": "string"
}
},
{
"name": "ibvProviderName",
"in": "query",
"description": "IBV provider name",
"schema": {
"type": "string"
}
},
{
"name": "asOfDate",
"in": "query",
"description": "Сurrent date for main analysis scenario",
"schema": {
"type": "string",
"default": ""
}
},
{
"name": "postOnboardingRefDate",
"in": "query",
"description": "The date against which the analysis result should be compared",
"schema": {
"type": "string",
"default": ""
}
},
{
"name": "unitId",
"in": "query",
"description": "The unit identifier.",
"schema": {
"type": "integer",
"format": "int32",
"default": 0
}
}
],
"requestBody": {
"description": "Data transmitted by the client",
"content": {
"application/json": {
"schema": {}
},
"text/json": {
"schema": {}
},
"application/*+json": {
"schema": {}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BankuityInsightsResponse"
}
}
}
}
}
}
},
"/v2/analysis/bankinfo/check": {
"post": {
"tags": ["ApiFeatures"],
"summary": "Get Bank Account Verification",
"description": "<h3>This method returns the following for the bank routing number and account number provided:</h3>\r\n<p>\r\n <ol>\r\n <li>AccountInfo: Valid/NotMatch/TokenizedMatch/ProviderError</li>\r\n <li>Bank name</li>\r\n <li>Bank account type (checking or savings)</li>\r\n <li>Account holder name(first name, last name)</li>\r\n </ol>\r\n</p>\r\n<p>\r\n <i>Sample request:</i>\r\n</p>\r\n<p>POST v2/analysis/bankinfo/check?requestCode=N4RHKX</p>",
"parameters": [
{
"name": "requestCode",
"in": "query",
"description": "The IBV provider request code.",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"description": "Сurrent date for main analysis scenario",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BankInfoCheckRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/BankInfoCheckRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/BankInfoCheckRequest"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BankInfoCheckResponse"
}
}
}
}
}
}
},
"/v2/analysis/income": {
"get": {
"tags": ["ApiIAChirp"],
"summary": "Request Income Analysis",
"description": "Retrieves comprehensive income analysis and financial risk assessment for a specific request code. Allowing you to verify primary income sources and stability, assess loan repayment probability via risk scores, and determine optimal lending amounts and debit schedules. \n\n**Data Freshness Logic** \n\nThe system synchronizes with the Instant Bank Verification (IBV) provider in real-time.\n* If the provider contains data more recent than the local database, a new snapshot is automatically captured and re-analyzed.\n* If no new data is detected, the endpoint returns the most recent analysis results stored in the database.",
"parameters": [
{
"name": "requestCode",
"in": "query",
"required": true,
"description": "The unique request code provided by the IBV provider (e.g., Chirp).",
"schema": {
"type": "string"
}
},
{
"name": "asOfDate",
"in": "query",
"description": "The reference date used for the analysis scenario.",
"schema": {
"type": "string",
"format": "date",
"default": ""
}
},
{
"name": "ibvProviderName",
"in": "query",
"description": "The name of the IBV provider.",
"schema": {
"type": "string",
"default": "Chirp"
}
},
{
"name": "unitId",
"in": "query",
"description": "The unique identifier for the organizational unit.",
"schema": {
"type": "integer",
"format": "int32",
"default": 0
}
},
{
"name": "forcedProcessing",
"in": "query",
"description": "If true, bypasses the cache and forces a full re-analysis of the data.",
"schema": {
"type": "boolean",
"default": false
}
}
],
"responses": {
"200": {
"description": "Success - Income analysis retrieved.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetProcessingResultsResponse"
},
"example": {
"requestId": "41c7cb45-2cba-4287-9c6f-6ec1fbc37e77",
"availableProducts": ["Incomes"],
"processingResult": {
"status": "Completed",
"productProcessingResult": {
"sourceType": "BankStatement",
"customerInfo": {
"names": ["JOHN DOE"],
"recommendedBankAccount": "XXXX1234",
"riskAnalysisCustomer": {
"riskScore": 745.0,
"riskBehavior": "No"
}
},
"accounts": [
{
"accountGuid": "acc-98765",
"primaryIncomeAccount": true,
"currentBalance": 1250.5,
"activeIncome": {
"activePayrollIncome": 4500.0,
"activePayrollIncomeSources": 1
},
"lendingGuide": {
"customerIncomeType": "Payroll",
"maxLoanAmount": 1500.0,
"debitFrequency": "Bi-weekly",
"repeatOpportunity": "High"
}
}
]
}
},
"ibvStatusInfo": {
"ibvStatus": "active",
"refreshedOn": "2026-01-07T01:33:39Z"
}
}
}
}
}
}
}
},
"/v2/connections/status": {
"get": {
"tags": ["ApiIBVService"],
"summary": "Check Connect",
"description": "<h3>The method checks whether there is a connection between the selected request and the IBV provider.</h3>\r\n<p>Sample request:</p>\r\n<p> GET v2/connections/status?requestId=41c7cb45-2cba-4287-9c6f-6ec1fbc37e77</p>",
"parameters": [
{
"name": "requestId",
"in": "query",
"description": "Request Id.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IBVCheckConnectResponse"
}
}
}
}
}
}
},
"/v2/connections/refresh": {
"post": {
"tags": ["ApiIBVService"],
"summary": "Refresh Connect",
"description": "<h3>Connect to IBV provider and refresh data</h3>\r\n<p>This method connects to the IBV provider to refresh the client data and creates a new request, in which the new IBV data of the client will be stored. The operation is asynchronous and the new requestID can be used in the call to GetProcessingResults.</p>\r\n<p>Attempting to refresh a request within 3 hours of a successful verification or refresh will not be permitted.</p>\r\n<p>\r\n <i>Sample request:</i>\r\n</p>\r\n<p>POST v2/connections/refresh?requestId=20f1d43f-7688-4dfa-9d3d-0effd3f86daa</p>",
"parameters": [
{
"name": "requestId",
"in": "query",
"description": "Request Id.",
"schema": {
"type": "string"
}
},
{
"name": "forceRefresh",
"in": "query",
"description": "Forced refresh or not",
"schema": {
"type": "boolean",
"default": false
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IBVRefreshResponse"
}
}
}
}
}
}
},
"/api/GetUnitConfigurations": {
"post": {
"tags": ["ApiOrganization"],
"parameters": [
{
"name": "unitId",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Response"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Response"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Response"
}
}
}
}
}
}
},
"/api/Ping": {
"get": {
"tags": ["ApiTransDetails"],
"summary": "Check API",
"description": "<h3>This endpoint is used to verify the validity of authorization.</h3>",
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Response"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Response"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Response"
}
}
}
}
}
}
},
"/v2/analysis/income/result": {
"get": {
"tags": ["ApiTransDetails"],
"summary": "Get Processing Results",
"description": "<h3>The method returns the result corresponding to the request ID received in the analysis/income/search method or other methods.</h3>\r\n Sample request:\r\n \r\n GET v2/analysis/income/result?requestId=41c7cb45-2cba-4287-9c6f-6ec1fbc37e77",
"parameters": [
{
"name": "requestId",
"in": "query",
"description": "Request Id.",
"schema": {
"type": "string"
}
},
{
"name": "forceProcessing",
"in": "query",
"description": "Forced processing.",
"schema": {
"type": "boolean",
"default": false
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetProcessingResultsResponse"
}
}
}
}
}
}
},
"/v2/analysis/income/search": {
"post": {
"tags": ["ApiTransDetails"],
"summary": "Get Request Ids",
"description": "<h3>This endpoint returns a list of request IDs for a specified period. Only users with the \"Client\" or \"Agent\" roles have the permission to access this endpoint.</h3>\r\n<h4>Filter for GetRequestIds method</h4>\r\n The filter has three templates for selecting records.\r\n <ul><li>filterEl - filters by one field.</li><li>filterExp -filters by several fields.</li><li>filterBExp -filters by several filterExp.</li></ul><h4>Fields available for filtering:</h4>\r\n “AppUserId”,”RequestId”,”Updated”,”Created”,”CustomerName”,”LastUpdated”,”RequestCode”,”SourceType”\r\n <p>\r\n You can use any types of filters individually or together.In case of sharing between filters AND operation is used.\r\n </p>",
"requestBody": {
"description": "GetRequestIdsRequest.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetRequestIdsRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/GetRequestIdsRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/GetRequestIdsRequest"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetRequestIdsResponse"
}
}
}
}
}
}
},
"/v2/analysis/income/chirpreports": {
"post": {
"tags": ["ApiTransDetails"],
"summary": "Chirp Process Transactions",
"description": "<h3>This endpoint receives IBV data for a customer and return IBV data processing results.</h3>\r\n\r\nRequest body contains Json object containing Chirp reports corresponding to their name. If the report is not used, it can be omitted. the requiestID returned in the report can be used to rerequest same report using GetProcessingResults endpoint\r\n```\r\n {\r\n \"RequestStatus\": {}, - The getRequestStatus endpoint response.\r\n \"TrackInfo\": {}, - The getRequestTrackInfo endpoint response.\r\n \"RequestDetails\": {}, - The getRequestDetails endpoint response.\r\n \"AccountOwnerInfo\": {}, - The getAccountOwnerInfo endpoint response.\r\n \"AccountInfo\": {} - The getAccountInfo endpoint response.\r\n }\r\n ```",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ChirpReportsRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ChirpReportsRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/ChirpReportsRequest"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProcessTransactionsResponse"
}
}
}
}
}
}
},
"/api/GetTransactions": {
"post": {
"tags": ["ApiTransDetails"],
"summary": "Get Transactions",
"description": "<h3>The method returns the transactions corresponding to the request ID received in the /TransDetails/GetProcessingResults method.</h3>\r\n Sample request:\r\n \r\n POST api/GetTransactions",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetTransactionsRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/GetTransactionsRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/GetTransactionsRequest"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetTransactionsResponse"
}
}
}
}
}
}
},
"/api/GetTransactionsForRequestCode": {
"post": {
"tags": ["ApiTransDetails"],
"summary": "Get Transactions",
"description": "<h3>The method returns the transactions corresponding to the RequestCode received in the /TransDetails/GetProcessingResults method.</h3>\r\n Sample request:\r\n \r\n POST api/GetTransactionsForRequestCode?requestCode=OPX1YU",
"parameters": [
{
"name": "requestCode",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
},
{
"name": "accountGuid",
"in": "query",
"description": "",
"schema": {
"type": "string",
"default": ""
}
},
{
"name": "dateFrom",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
},
{
"name": "dateTo",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
},
{
"name": "pageNumber",
"in": "query",
"description": "",
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "pageSize",
"in": "query",
"description": "",
"schema": {
"type": "integer",
"format": "int32",
"default": 100
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetTransactionsResponse"
}
}
}
}
}
}
},
"/Auth/GetJWTToken": {
"post": {
"tags": ["Auth"],
"summary": "Get Token",
"operationId": "GetJWTToken",
"description": "Requests a short-lived JSON Web Token (JWT) required to authenticate subsequent requests to the Bankuity API. This endpoint acts as the primary gateway for session-based security. While initial access requires organization-level keys (Subscription Key and API Key), most analysis endpoints require the Bearer token returned here. \n\n**Key Lifecycle Details:**\n* **Expiration:** The token is valid for 60 minutes.\n* **Authorization:** Subsequent calls must include the token in the header: `Authorization: Bearer {token}`.\n* **Product Access:** The response explicitly lists `availableProducts` authorized for your account.",
"responses": {
"200": {
"description": "OK - Token successfully generated.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetTokenResponse"
},
"example": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"availableProducts": ["Incomes"],
"lastLogindate": "2026-01-07T14:22:26.501Z",
"passwordExpiryDate": "2027-10-26T14:22:26.501Z",
"userName": "Financial_Analyst_01",
"claimList": [
{
"claimType": "Permission",
"claimValue": ["Read", "Execute"]
}
],
"roleIds": "1",
"childRoleIds": null
}
}
}
}
}
}
},
"/v2/analysis/income/customer": {
"get": {
"tags": ["Totality"],
"summary": "Get Analyzing Result For Customer",
"description": "<h3>This method takes IBV data for CustomerUUID from LMS system and return Analysis results.</h3>\r\n<p></p>",
"parameters": [
{
"name": "customerUUID",
"in": "query",
"description": "UUID parameter of customer",
"schema": {
"type": "string"
}
},
{
"name": "templateid",
"in": "query",
"description": "Template to be used to post comment back to LMS system",
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "ibvProviderName",
"in": "query",
"description": "IBV provider name.",
"schema": {
"type": "string",
"default": "Chirp"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Response"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"AUResponseVMAddInfo": {
"type": "object",
"properties": {
"accounts": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AUResponseVMAddInfoAccount"
},
"description": "List of account information",
"nullable": true
}
},
"additionalProperties": false
},
"AUResponseVMAddInfoAccount": {
"type": "object",
"properties": {
"accountGuid": {
"type": "string",
"description": "Account Unique Identifier.",
"nullable": true
},
"isPrimary": {
"type": "boolean",
"description": "Indicates if this is the primary account."
},
"activeMonthlyIncome": {
"type": "number",
"description": "Total active monthly income from income sources.",
"format": "double"
},
"riskScore": {
"type": "number",
"description": "Numeric representation of the risk score.",
"format": "double"
},
"minLoan": {
"type": "integer",
"description": "Minimum eligible loan amount.",
"format": "int32"
},
"maxLoan": {
"type": "integer",
"description": "Maximum eligible loan amount.",
"format": "int32"
},
"availableBalance": {
"type": "number",
"description": "Current available account balance.",
"format": "double",
"nullable": true
}
},
"additionalProperties": false
},
"Account": {
"type": "object",
"properties": {
"account_number": {
"type": "string",
"description": "Account number associated with the account.",
"nullable": true
},
"apr": {
"type": "number",
"description": "Annual Percentage Rate (APR) applied to the account.",
"format": "double",
"nullable": true
},
"apy": {
"type": "number",
"description": "Annual Percentage Yield (APY) associated with the account.",
"format": "double",
"nullable": true
},
"available_balance": {
"type": "number",
"description": "Available balance in the account.",
"format": "double",
"nullable": true
},
"available_credit": {
"type": "number",
"description": "Available credit for the account.",
"format": "double",
"nullable": true
},
"balance": {
"type": "number",
"description": "Current balance of the account.",
"format": "double",
"nullable": true
},
"cash_balance": {
"type": "number",
"description": "Cash balance in the account.",
"format": "double",
"nullable": true
},
"created_at": {
"type": "string",
"description": "Date and time when the account was created.",
"nullable": true
},
"credit_limit": {
"type": "number",
"description": "Credit limit associated with the account.",
"format": "double",
"nullable": true
},
"currency_code": {
"type": "string",
"description": "Currency code used for the account.",
"nullable": true
},
"guid": {
"type": "string",
"description": "Globally unique identifier (GUID) for the account.",
"nullable": true
},
"holdings_value": {
"type": "number",
"description": "Total value of holdings in the account.",
"format": "double",
"nullable": true
},
"interest_rate": {
"type": "number",
"description": "Interest rate applied to the account.",
"format": "double",
"nullable": true
},
"institution_code": {
"type": "string",
"description": "Institution code associated with the account.",
"nullable": true
},
"is_closed": {
"type": "boolean",
"description": "Indicates whether the account is closed.",
"nullable": true
},
"type": {
"type": "string",
"description": "Type of the account (e.g., savings, checking).",
"nullable": true
},
"subtype": {
"type": "string",
"description": "Subtype of the account (e.g., premium, standard).",
"nullable": true
},
"updated_at": {
"type": "string",
"description": "Date and time when the account was last updated.",
"nullable": true
},
"user_guid": {
"type": "string",
"description": "User GUID associated with the account.",
"nullable": true
},
"id": {
"type": "string",
"description": "Unique identifier for the account.",
"nullable": true
},
"premium_amount": {
"type": "number",
"description": "Premium amount associated with the account.",
"format": "double",
"nullable": true
},
"routing_number": {
"type": "string",
"description": "Routing number linked to the account.",
"nullable": true
},
"imported_at": {
"type": "string",
"description": "Date and time when the account was imported.",
"nullable": true
}
},
"additionalProperties": false
},
"AccountNumberInfo": {
"type": "object",
"properties": {
"account_number": {
"type": "string",
"description": "Account number associated with the bank account.",
"nullable": true
},
"routing_number": {
"type": "string",
"description": "Routing number used for identifying the financial institution.",
"nullable": true
},
"transit_number": {
"type": "string",
"description": "Transit number associated with the bank account.",
"nullable": true
},
"institution_number": {
"type": "string",
"description": "Institution number of the financial institution.",
"nullable": true
},
"passed_validation": {
"type": "boolean",
"description": "Indicates whether the account has passed validation checks."
},
"masked_account_number": {
"type": "string",
"nullable": true
},
"chirpAccountId": {
"type": "string",
"nullable": true
},
"bankName": {
"type": "string",
"nullable": true
},
"accountType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AccountOwnerInfo": {
"type": "object",
"properties": {
"owner_name": {
"type": "string",
"description": "Full name of the account owner.",
"nullable": true
},
"address": {
"type": "string",
"description": "Street address of the account owner.",
"nullable": true
},
"city": {
"type": "string",
"description": "City of the account owner's address.",
"nullable": true
},
"state": {
"type": "string",
"description": "State or province of the account owner's address.",
"nullable": true
},
"postal_code": {
"type": "string",
"description": "Postal or ZIP code of the account owner's address.",
"nullable": true
},
"country": {
"type": "string",
"description": "Country of the account owner's address.",
"nullable": true
},
"email": {
"type": "string",
"description": "Email address of the account owner.",
"nullable": true
},
"phone": {
"type": "string",
"description": "Phone number of the account owner.",
"nullable": true
},
"first_name": {
"type": "string",
"description": "First name of the account owner.",
"nullable": true
},
"last_name": {
"type": "string",
"description": "Last name of the account owner.",
"nullable": true
}
},
"additionalProperties": false
},
"BankInfoCheckRequest": {
"type": "object",
"properties": {
"routingNumber": {
"type": "string",
"nullable": true
},
"accountNumber": {
"type": "string",
"nullable": true
},
"ibvProviderName": {
"type": "string",
"nullable": true
},
"unitId": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false