TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/akevalion/life_cost/llms.txt
Use this file to discover all available pages before exploring further.
GET /wallet/<id> endpoint fetches a single wallet’s details by its numeric ID. This is useful for displaying wallet metadata in the UI or verifying a wallet’s existence before performing operations against it. The endpoint is protected by @login_required, so an authenticated session cookie must accompany every request.
Method & Path
Authentication
This endpoint requires an active login session. Requests without a valid session cookie are rejected and redirected to the login flow. Session cookies are issued automatically upon successful Google OAuth sign-in.Path Parameter
The unique numeric ID of the wallet to retrieve. Corresponds to the
Wallet.id primary key column in the database. If no wallet with this ID exists, the endpoint returns a 404 Not Found response.Response Fields
A successful200 OK response returns a JSON object with the following fields:
The unique numeric identifier of the wallet. Mirrors the
id primary key stored in the wallet table.The display name of the wallet. Unique across all wallets; maximum 150 characters.
A human-readable description of the wallet’s purpose or contents. Optional — may be
null if no description was provided when the wallet was created. Maximum 300 characters.Example Request
Example Response
Error Cases
| Status | Condition |
|---|---|
404 Not Found | No wallet exists with the given id. Flask’s get_or_404 helper returns a standard 404 HTML response. |
401 Unauthorized | The request was made without an authenticated session. The server redirects to the Google login flow. |