Repayment of the loan issued

  • URL for sending requests -
  • method – POST
  • accept types: application/xml
  • request format:
      <creditid before="BEFORE_FLAG">CREDITID</creditid>
  • 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
CREDITID unique loan number
BEFORE_FLAG the deadline flag 1 - early loan repayment, 0 - repayment after the end of the loan term; if the value is 0, and the repayment period has not passed, the refund will not be executed
SIGN request signature formed by calculating the SHA1 hash function from a string obtained by concatenating parameters WMID + ':' + Ticks + ':' + CREDITID + ':' + before_the_deadline_flag + ':' + password_for_API_access
password_for_ access_to_the_API is generated on the settings page of the Debt Service
  • response format:
  <credit id="CREDIT_ID">
  • response parameters:
Name Purpose Description
PURSESRC purse number the purse number from which the loan was issued
PURSEDEST purse number the purse number to which the loan was issued
PURSERET purse number the purse number from which the loan is repaid
WMTRANID payment number loan issue transaction number
CONTRACT_ID contract number the contract number in the Arbitration service, see
WMTYPE purse type
WMTYPE_SRC purse type
CREDIT_ID unique loan number
DATECRT loan registartion date format yyyy-MM-ddTHH:mm:ss
DATEUPD date of the last change in the loan status format yyyy-MM-ddTHH:mm:ss
DESTWMID borrower's WMID 12 digits
AMOUNT amount issued
AMOUNT_RET amount to be repaid
AMOUNT_RET_REST the amount that remains to be repaid
DATE_RET planned repayment date format yyyy-MM-ddTHH:mm:ss
RET_PERIOD repayment periodicity in days
STATE loan status 0-planned
3-normally completed
4-completed ahead of schedule
5-completed at the expense of others
6-registration in the service has been terminated; obligation issued in Paymer format
RETVAL request result RETVAL values