(Temporarily unavailable)
Credit risk assessment using the Visa scoring model.
The report contains the following components:
Encryption | Encryption settingsEncryption key |
---|
Http Method | POST |
---|---|
Request URL | https://secure.ubki.ua/b2_api_xml/ubki/xml |
Request JSON |
Request XML |
Response XML |
Example |
---|
Request JSON | { "doc": { "ubki": { "req_envelope": { "req_xml": { "request": { "i": { "ident": { "okpo": "2111118724" }, "additionaldata": { "pan": "PAN_01" }, "reqlng": "4" }, "version": "1.0", "reqtype": "07", "reqsubtype": "(1, 2 or not filled)", "reqreason": "2" } } }, "sessid": "F55A3F9B47894C8B86724C290AEC178A" } } } |
Request XML | <?xml version="1.0" encoding="UTF-8"?> <doc> <ubki sessid="F55A3F9B47894C8B86724C290AEC178A"> <req_envelope> <req_xml> <request version="1.0" reqtype="07" reqsubtype="(1, 2 or not filled)" reqreason="2"> <i reqlng="4"> <ident okpo="2111118724" /> <additionaldata pan="PAN_01" /> </i> </request> </req_xml> </req_envelope> </ubki> </doc> |
Example of scoring and attributes (reqsubtype = "1") |
---|
Response XML | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ubkidata> <tech> <trace> <step name="build report" stm="2022-08-25 10:16:53.815" ftm="2022-08-25 10:16:54.045" /> </trace> <reqinfo reqid="req2#000002459427" /> </tech> <comp id="7" descr="VISA card scoring"> <scorevisa pan="PAN_01" score="0.1" recordeddate="202105" cardtype="CREDIT" countrycode="804" modelversion="2.0" /> </comp> <comp id="61" descr="VISA Attributes"> <visaCardholderSpendProfile> <spendSummary spendVolume="18139.5" numberOfTransactions="80255" timePeriod="3M" /> <spendSummary spendVolume="56321.85" numberOfTransactions="10182" timePeriod="12M" /> <cardEngagement monthOnBook="15" activeMonths="3" lastTransactionDate="2021-09-10" /> <spendType categoryType="CNP" spendVolume="2821.85" timePeriod="12M" /> <spendType categoryType="ATM" spendVolume="3919.8" timePeriod="12M" /> <spendType categoryType="CASH_OR_XBORDER" spendVolume="5605.65" timePeriod="12M" /> <authorizationDeclines categoryType="TOTAL" numberOfDeclines="473" timePeriod="3M" /> <authorizationDeclines categoryType="INSUFFICIENT_FUNDS" numberOfDeclines="1" timePeriod="3M" /> <categorySpend categoryType="FOOD_AND_GROCERY" spendVolume="1079.93" numberOfTransactions="10170" timePeriod="12M" /> <categorySpend categoryType="FUEL" spendVolume="247.96" numberOfTransactions="21791" timePeriod="12M" /> <categorySpend categoryType="HEALTH_CARE" spendVolume="1266.0" numberOfTransactions="13854" timePeriod="12M" /> <categorySpend categoryType="TRAVEL" spendVolume="34218.75" numberOfTransactions="58888" timePeriod="12M" /> <categorySpend categoryType="TELECOM_UTILITIES_INSURANCE" spendVolume="25508.0" numberOfTransactions="25701" timePeriod="12M" /> <categorySpend categoryType="RESTAURANTS_QSR" spendVolume="704.7" numberOfTransactions="11615" timePeriod="12M" /> </visaCardholderSpendProfile> </comp> </ubkidata> |
Example of getting attributes (reqsubtype = "2") |
---|
Response XML | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ubkidata> <tech> <trace> <step name="build report" stm="2022-08-25 10:17:45.369" ftm="2022-08-25 10:17:45.733"/> </trace> <reqinfo reqid="req2#000002459431"/> </tech> <comp id="61" descr="VISA Attributes"> <visaCardholderSpendProfile> <spendSummary spendVolume="18139.5" numberOfTransactions="80255" timePeriod="3M"/> <spendSummary spendVolume="56321.85" numberOfTransactions="10182" timePeriod="12M"/> <cardEngagement monthOnBook="15" activeMonths="3" lastTransactionDate="2021-09-10"/> <spendType categoryType="CNP" spendVolume="2821.85" timePeriod="12M"/> <spendType categoryType="ATM" spendVolume="3919.8" timePeriod="12M"/> <spendType categoryType="CASH_OR_XBORDER" spendVolume="5605.65" timePeriod="12M"/> <authorizationDeclines categoryType="TOTAL" numberOfDeclines="473" timePeriod="3M"/> <authorizationDeclines categoryType="INSUFFICIENT_FUNDS" numberOfDeclines="1" timePeriod="3M"/> <categorySpend categoryType="FOOD_AND_GROCERY" spendVolume="1079.93" numberOfTransactions="10170" timePeriod="12M"/> <categorySpend categoryType="FUEL" spendVolume="247.96" numberOfTransactions="21791" timePeriod="12M"/> <categorySpend categoryType="HEALTH_CARE" spendVolume="1266.0" numberOfTransactions="13854" timePeriod="12M"/> <categorySpend categoryType="TRAVEL" spendVolume="34218.75" numberOfTransactions="58888" timePeriod="12M"/> <categorySpend categoryType="TELECOM_UTILITIES_INSURANCE" spendVolume="25508.0" numberOfTransactions="25701" timePeriod="12M"/> <categorySpend categoryType="RESTAURANTS_QSR" spendVolume="704.7" numberOfTransactions="11615" timePeriod="12M"/> </visaCardholderSpendProfile> </comp> </ubkidata> |
Example of scoring (reqsubtype = "") |
---|
Response XML | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ubkidata> <tech> <trace> <step name="build report" stm="2022-08-25 10:18:14.207" ftm="2022-08-25 10:18:14.299"/> </trace> <reqinfo reqid="req2#000002459434"/> </tech> <comp id="7" descr="VISA card scoring"> <scorevisa pan="PAN_01" score="0.1" recordeddate="202105" cardtype="CREDIT" countrycode="804" modelversion="2.0"/> </comp> </ubkidata> |
XSD Schema request | https://secure.ubki.ua/b2/js/xsd/request07.xsd |
---|---|
XSD Schema response | https://secure.ubki.ua/b2/js/xsd/response07.xsd |
Test URL | https://test.ubki.ua/b2_api_xml/ubki/xml |
---|---|
Test data |
|