Skip to content

Simplifying methods (getting information on all contracts by the client's GUID)

GET

Method Description:

The method combines the methods:

  1. Method of obtaining information on the contract

POST /bs-core/main/loans/details

  1. Method for getting the BNPL schedule

GET /main/contracts/{contract id}/bnp-schedule/date/{date}

The method is requested for the client, information is returned for each contract:

Information for each contract (item 1), if the contract status is Active or Overdue (not Closed), the BNPL schedule is returned (item 2)

New parameter: "CalcType" - Schedule mode:

  1. BNPL_PLAN - there were no repayments, just 2 planned schedules are returned

  2. BNPL_FACT_AND_CALC - there were repayments and 2 actual schedules are returned

  3. BNPL_FACT-we are on the 2nd schedule and one second actual schedule is returned

  4. SIMPLE_FACT-only 1 schedule, the actual schedule is returned

Parameters

Path Parameters

date*

date

Type
string
Required
Format
"date"
guid*

guid

Type
string
Required

Responses

OK

*/*
object
object[]
Format"double"
Format"double"
Format"double"
Format"double"
Format"double"
Format"double"
Valid values"BNPL_FACT""BNPL_FACT_AND_CALC""BNPL_PLAN""SIMPLE_FACT"
Format"int64"
object[]
object[]
Valid values"Active""Closed""Overdue"
Valid values"error""ok"
Format"int64"