Getting a list of trust limits open for issuing loans

  • URL for sending requests -
  • method – POST
  • accept types: application/xml
  • request format:

    request parameters:

Name Purpose Description
WMID lender's WMID 12 digits
Ticks the number of milliseconds since 01.01.1970 00:00:00 UTC Int64
SIGN request signature formed by calculating the SHA1 hash function from a string obtained by concatenating parameters WMID + ':' + Ticks + ':' + password_for_API_access
password_for_ access_to_the_API is generated on the settings page of the Debt Service
  • response format:
      <creditlines cnt="CREDITLINES_CNT">
        <creditline wmidfrom="WMID_FROM" wmidfor="WMID_FOR">
  • response parameters:
Name Purpose Description
CREDITLINES_CNT the number of entries in the output list
FROMWMID lender's WMID 12 digits
FORWMID borrower's WMID 12 digits
DATECRT loan date format yyyy-MM-ddTHH:mm:ss
DATEUPD date of the last change of the loan status format yyyy-MM-ddTHH:mm:ss
AMOUNTMAX maximum amount
AMOUNTPAY amount used
RET_PERIOD maximum loan term in days
RET_PERIOD_MIN minimum loan term in days
RET_PROС daily loan interest
RET_PER repayment periodicity 0 - at the end of the term
1 - daily,
3 - once in three days,
5 - once in 5 days,
10 - once in 10 days,
15 - once in 15 days,
30 - once in 30 days
STATE limit status 0 - closed, 1 - open, 2 - offered
TIME_LIFE limit lifetime 0 - unlimited, -1 - before the first use

RETVAL values