Issuance
Registration of information on the issue of the purchased application
method: POST
url: https://ninjalender.online/client/loan/issue
Headers:
header key | header content |
Content-Type: | application/json; |
Authorization: | Bearer AToken; |
Where AToken is the token that was received during authorization.
Request body:
Key | Type | Required | Description |
params | JSON.object | + | Request parameters |
params:
Key | Type | Required | Description |
id | int | + | id of loan |
sum | decimal | + | Issuance sum |
response:
Key | Type | Description |
code | int | Response code |
message | string | Message |
Request example:
Response example:
List of errors:
Key | Message |
-99 | System error! Try again later or contact us |
-98 | Expired token |
-2000001 | Invalid token |
-2040901 | Params is required |
-2040902 | Loan not found |
-2040903 | Cant issue by other organization loan |
-2040904 | Sum must be a number |
-2040905 | Sum must be >0 |
-2040906 | id is required |
-2040907 | sum is required |
-2040908 | already issued |
Last updated