Payday Plan Endpoint
GET
/api/v1/envelopes/payday-plan
const url = 'https://example.com/api/v1/envelopes/payday-plan?limit=50&offset=0';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/envelopes/payday-plan?limit=50&offset=0'What each pay schedule sets aside for the envelopes and goals that use it.
One group per schedule with at least one line (the default schedule first, then by next payday): the lines’ per-payday amounts and their total, in the user’s base currency. A suggestion only; nothing is posted and no money moves.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”limit
Limit
integer
offset
Offset
integer
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Response Payday Plan Endpoint Api V1 Envelopes Payday Plan Get
Array<object>
PaydayPlanItemobject
schedule_id
required
Schedule Id
integer
schedule_name
required
Schedule Name
string
is_default
required
Is Default
boolean
lines
required
Lines
Array<object>
PaydayPlanLinetotal_set_aside
required
Total Set Aside
string
Example
[ { "lines": [ { "kind": "envelope" } ] }]Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}