Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

(Temporarily unavailable)

...

Credit risk assessment using the Visa scoring model.

...

Request JSON

Expand
title body:

{

"doc": {

"ubki": {

"req_envelope": {

"req_xml": {

"request": {

"i": {

"ident": {

"okpo": "Tax/Taxpayer Identification Number (INN-RNUKPN)"

},

"additionaldata": {

"pan": "Encrypted card ID (Encrypted with the VISA public key provided on request)"

},

"reqlng": "Search criteria language (code from ref.23)"

},

"version": "1.0",

"reqtype": "Template code (code from ref.49):'Transaction Underwriting Score' report – 07",

"reqsubtype": "Sub-template code (1 - get scoring and attributes; 2 - get attributes; or not filled in if only scoring is received)",

"reqreason": "Request objective (code from ref.24)"

},

"descr": "Request object"

},

"descr": "Request envelope"

},

"sessid": "Session key (obtained from the authorization API)"

}

}

}

...

Response XML

Expand
titlebody:

<?xml version="1.0" encoding="utf-8"?>

<ubkidata>

<!-- System information part -->

<tech>

<trace>

<step name="Step name" stm="Step start stamp date" ftm="Step finish stamp date">

<!-- The trace part contains timing metrics of components generation steps -->

</step>

</trace>

<error errtype="Error code (code from ref.0)" errtext="Error text (value from ref.0)">

</error>

<reqinfo reqid="Outgoing request ID generated by UBKI">

</reqinfo>

<!-- Information about the current status of the prepaid account part-->

<billing>

<balance value="Total assets" date="Date" time="Time" />

<billdetails freemon="Sign of free of charge according to the request type "Monitoring the client of the organization" (reqreason=1), code (0 - No, 1 - Yes)"

freemonref="Sign of free of charge according to the request type "Monitoring the client of the organization" (reqreason=1), value (0 - No, 1 - Yes)"/>

</billing>

</tech>

<!-- VISA card scoring information block-->

<comp id="7" descr="VISA card scoring">

<scorevisa pan="Encrypted card ID"

score="Scoring value (0-1) - 0 - low credit risk, 1 - high credit risk"

recordeddate="Score calculation date"

cardtype="Card type (DEBIT/CREDIT)"

countrycode="Numerical code representing country code"

modelversion="Model Version Number" />

</comp>

<!-- Block of information about VISA attributes-->

<comp id="61" descr="VISA atributes">

<visaCardholderSpendProfile>

<spendSummary spendVolume="Amount"

numberOfTransactions="Quantity"

timePeriod="Period" />

<cardEngagement monthOnBook="Card expiration date, months"

activeMonths="Number of months with transactions"

lastTransactionDate="Last transaction date" />

<spendType categoryType="Transaction type"

spendVolume="Amount"

timePeriod="Period" />

<authorizationDeclines categoryType="Rejection type"

numberOfDeclines="Quantity"

timePeriod="Period" />

<categorySpend categoryType="Transaction category"

spendVolume="Amount"

numberOfTransactions="Quantity"

timePeriod="Period" />

</visaCardholderSpendProfile>

<!-- This block can consist of 1 .. * elements -->

</comp>

</ubkidata>

...