Skip to main content
GET
/
v1
/
users
/
{userId}
/
reimbursements
/
latest
Get latest reimbursement
curl --request GET \
  --url https://api.light.inc/v1/users/{userId}/reimbursements/latest \
  --header 'Authorization: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "expenseIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "status": "IN_PROGRESS",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.

Path Parameters

userId
string<uuid>
required

Response

default - application/json;charset=UTF-8

default response

id
string<uuid>
companyId
string<uuid>
userId
string<uuid>
expenseIds
string<uuid>[]
status
enum<string>
Available options:
IN_PROGRESS,
SUCCEEDED,
FAILED,
REJECTED,
RESET
createdAt
string<date-time>
I