Expenses

Get an expense by id

Retrieve a single expense by its id.

GET
/api/expenses/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Expense id

Response Body

application/json

curl -X GET "https://example.com/api/expenses/98d34e0c-69dc-4683-9bbe-6e6921ed155c"
{
  "id": "string",
  "businessId": "string",
  "amount": 0,
  "currency": "string",
  "description": "string",
  "status": "pending",
  "date": "2019-08-24T14:15:22Z",
  "claimReimbursement": true,
  "receipt": [
    "string"
  ],
  "payoutId": "string",
  "expenseCategory": {
    "name": "string"
  },
  "department": {
    "name": "string"
  },
  "recipient": {
    "accountName": "string"
  },
  "createdAt": "2019-08-24T14:15:22Z"
}
Empty
Empty
Empty

How is this guide?

Last updated on