Skip to main content
GET
/
expenses
/
{expenseId}
Get expense by ID
curl --request GET \
  --url https://api.fonder.com/expenses/{expenseId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "paymentId": "<string>",
  "currencyCode": "<string>",
  "amount": "<string>",
  "paidAt": "2023-11-07T05:31:56Z",
  "method": "<string>",
  "description": "<string>",
  "category": "<string>",
  "issueDate": "2023-12-25",
  "dueDate": "2023-12-25",
  "type": "CASH",
  "status": "<string>",
  "account": {
    "id": "<string>",
    "name": "<string>",
    "accountNumber": "<string>",
    "description": "<string>",
    "type": "CASH",
    "bank": {
      "name": "<string>",
      "country": 123,
      "code": "<string>",
      "swiftCode": "<string>"
    },
    "bankCode": "<string>",
    "liquidityThreshold": "<string>",
    "lastBalance": "<string>"
  },
  "client": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "description": "<string>",
    "vatNumber": "<string>",
    "type": "CLIENT",
    "taxRetentionPercentage": 123
  },
  "user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "username": "<string>",
    "mail": "[email protected]",
    "role": "<string>",
    "phone": "<string>",
    "accounts": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

expenseId
string<uuid>
required

Expense ID

Response

200 - application/json

Successful response

id
string<uuid>
paymentId
string
currencyCode
string
amount
string
paidAt
string<date-time>
method
string
description
string
category
string
issueDate
string<date>
dueDate
string<date>
type
enum<string>
Available options:
CASH,
BANK
status
string
account
object
client
object
user
object