Create application

To create an application, you must send it json to the appropriate URL. By filling in json requisite in accordance to which template the application belongs

method: POST

url: https://ninjalender.online/client/loan/create

Headers:

Where AToken is the token that was received during authorization.

Request body:

params:

Example of filing application requisites by "Customer Loan Basic" template

response:

Request example:

{
  "params": {
    "amount": 1000,
    "price_min": 100,
    "price": 150,
    "term": 86400,
    "template": 26,
    "refuse_reason": 12,
    "requisites": {
      "borrower_personal_code": {
        "value": "some_borrower_personal_code"
      },
      "borrower_first_name": {
        "value": "some_borrower_first_name"
      },
      "borrower_last_name": {
        "value": "some_borrower_last_name"
      },
      "borrower_phone": {
        "value": "some_borrower_phone"
      },
      "borrower_email": {
        "value": "some_borrower_email"
      },
      "borrower_address": {
        "value": "some_borrower_address"
      },
      "borrower_monthly_income_amount": {
        "value": "some_borrower_monthly_income_amount"
      },
      "borrower_monthly_income_source": {
        "value": "some_borrower_monthly_income_source"
      }
    }
  }
}

Response example:

[
  {
    "code": 0,
    "message": "ok",
    "data": {
      "id": "1278"
    }
  }
]

List of errors:

Last updated