Issue Registration
Registration of issuance of a purchased application
Method: POST
Url: https://test.ninjalender.online/loan/issue-by-loan
Headers:
header_key
content
Content-Type:
application/json;
Authorization
Bearer {{Token}}
Where {{Token}} - token obtained during authorization
Request body:
Key
Type
Required
Description
params
JSON.object
+
Request parameters
Params:
Key
Type
Required
Description
id
numeric
+
id of application
sum
numeric
+
issuance sum
Response:
Key
Type
Description
code
int
Response code
message
string
Response message
Request example:
1
{
2
"params":{
3
"id": 53,
4
"sum": "2000"
5
}
6
7
}
Copied!
Response example:
Success:
1
[
2
{
3
"code": 0,
4
"message": "ok",
5
"log_key": "796"
6
}
7
]
Copied!
Error:
1
[
2
{
3
"code": -1020301,
4
"message": "Params is required",
5
"log_key": "748"
6
}
7
]
Copied!
Error list:
Ключ
Сообщение
-96
invalid key
-97
invalid token
-98
expired token
-99
system error
-100
access denied
-1020301
Params is required
-1020302
Id is blank
-1020303
Loan not found
-1020304
Already issoued
-1020305
Sum is blank
Last modified 1mo ago
Copy link