Repayment of the received loan

  • URL for sending requests -
  • method – POST
  • accept types: application/xml
  • request format:
      <creditid ret="RET_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
RET_FLAG repayment type flag 0 - regular payment, 1 - entire amount repayment, regardless of the repayment period
SIGN request signature formed by calculating the SHA1 hash-function from a string obtained by concatenating parameters WMID + ':' + Ticks + ':' + CREDITID + ':' + RET_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
CREDIT_ID unique loan number
DATECRT loan registartion date format yyyy-MM-ddTHH:mm:ss
DATEUPD date of the last change of 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 perioidicity 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