latestSwagger 2.02026-08-20196638916.1 KB

23d8982b533d

Risk.Expense Check

Create an expense check report

Creates an expense check report containing the expenses of an end-user.

post/risk/v1/expense-checks

Request body

externalReferencestring

Optional reference given by the customer to add information, such as UID, to the generated report. (Validation: allowed lowercase and uppercase letters, numbers and dashes. Max 50 characters in length).

Example request

{
  "externalReference": "ln-123456789"
}

Response

A successful response.

appIdstring required

The identifier of the app that has been created by the client in console and linked to the expense check product.

createdTimestring date-time required

The creation time of the expense check report.

engineVersionstring required

The version of the engine that generated the expense check report.

externalReferencestring

An external reference given by the client when creating the expense check report.

idstring required

The internal identifier of the expense check report.

userIdstring required

The internal identifier of the user linked to the request.

Example response

{
  "appId": "56a33be25eb9443fbb696f7c61eabd94",
  "createdTime": "2021-04-22T09:59:56.966Z",
  "engineVersion": "1.0.0",
  "externalReference": "ext-abc-123",
  "id": "a8efc70a24a5e4aed0f8d3e5380b01fd74fc9cd1",
  "userId": "9e0b1c0d74967147744f0d076e805dfb2df7b4b3"
}