Skip to main content
GET
Get Expense
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

Get Expense Description: The /expense/{id} endpoint retrieves detailed information about a specific expense record. Method: GET Authorization:
  • Required role: user or higher
Path Parameter:

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

Expense ID

Response

Success

message
string
expenses
object[]
total
integer
page
integer
size
integer
totalPages
integer
summary
object