cURL
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>" ] } }
Returns a specific expense by ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Expense ID
Successful response
CASH
BANK
Show child attributes