(Тимчасово не надається)
Оцінка кредитного ризику з використанням скоринг-моделі Visa.
Звіт містить такі компоненти:
Http Method | POST |
---|---|
Request URL | https://secure.ubki.ua/b2_api_xml/ubki/xml |
Request JSON |
Request XML |
Response XML |
Приклад |
---|
Request JSON | { "doc": { "ubki": { "req_envelope": { "req_xml": { "request": { "i": { "ident": { "okpo": "2111118724" }, "additionaldata": { "pan": "PAN_01" }, "reqlng": "1" }, "version": "1.0", "reqtype": "07", "reqsubtype": "(1, 2 або не заповнений)", "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 або не заповнений)" reqreason="2"> <i reqlng="1"> <ident okpo="2111118724" /> <additionaldata pan="PAN_01" /> </i> </request> </req_xml> </req_envelope> </ubki> </doc> |
Приклад отримання скорингу та атрибутів (reqsubtype="1") |
---|
Response XML | <?xml version="1.0" encoding="UTF-8"?> <ubkidata> <tech> <trace> <step name="build report" stm="2022-01-09 18:52:43.675" ftm="2022-01-09 18:52:43.752" /> </trace> <reqinfo reqid="req2#000002007718" /> </tech> <comp id="7" descr="Скоринг карти VISA"> <scorevisa pan="pan" score="0.1" recordeddate="202201" cardtype="CREDIT" countrycode="804" modelversion="2.0" /> </comp> <comp id="61" descr="Атрибути VISA"> <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> |
Приклад отримання атрибутів (reqsubtype="2") |
---|
Response XML | <?xml version="1.0" encoding="UTF-8"?> <ubkidata> <tech> <trace> <step name="build report" stm="2022-01-09 18:52:07.765" ftm="2022-01-09 18:52:07.836" /> </trace> <reqinfo reqid="req2#000002007713" /> </tech> <comp id="61" descr="Атрибути VISA"> <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> |
Приклад отримання скорингу (reqsubtype="") |
---|
Response XML | <?xml version="1.0" encoding="UTF-8"?> <ubkidata> <tech> <trace> <step name="build report" stm="2022-01-09 18:51:18.003" ftm="2022-01-09 18:51:18.08" /> </trace> <reqinfo reqid="req2#000002007707" /> </tech> <comp id="7" descr="Скоринг карти VISA"> <scorevisa pan="pan" score="0.1" recordeddate="202201" 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 |
|