Resending

Re-send the application to the webhook

  • Application must be purchased

  • It works only if the function of sending data to the webhook is enabled. To activate this feature you need to contact us and provide a webhook`s url.

method: POST

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

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

response:

Key

Type

Description

code

int

Response code

message

string

Message

Request example:

{
  "params": {
    "id": 562
  }
}

Response example:

[
  {
    "code": 0,
    "message": "ok"
  }
]

List of errors:

Key

Message

-99

System error! Try again later or contact us

-98

Expired token

-2000001

Invalid token

-2040501

Params is required

-2040502

id must not be blank

-2040503

Loan not found

-2040504

Cant resend loan

-2040505

Cant send loan of other organization

Last updated