/plans/preview
No key neededWhich amount leaves which paycheck so a bill is covered by its due date. Nothing is stored.
- amount string or number required
- Dollars. Or
amountMinorin cents, which wins if both are sent. - dueDate YYYY-MM-DD required
- The day the payee needs the money.
- payers array, 1 to 30 required
- Each:
name,id(defaults to the name; unique),pay,paycheckorpaycheckMinor,weight,fixedorfixedMinor. - payers[].pay object
frequency,anchor(any real payday),day2(semimonthly). Without it the payer gets one payment on the last day that arrives on time.- split equal | percent | fixed
- Default
equal.percentreads eachweightas a relative weight.fixedusesfixedamounts and splits the rest evenly. - lagDays integer 0 to 10
- Business days a payment takes to land. Default 0.
- acceptsPartial boolean
- Default true. False: one payment per payer, on their last payday that lands in time.
- today YYYY-MM-DD
- The date to plan from. Default: today (UTC). Send it for a repeatable answer.
- windowStart YYYY-MM-DD
- First day payments may be planned from. Default: about 30 days before the due date.
Two payers on different paydays
rendus POST /plans/preview '{
"amount": "2850",
"dueDate": "2026-12-01",
"today": "2026-11-09",
"payers": [
{
"name": "Alex",
"pay": { "frequency": "biweekly", "anchor": "2026-11-06" },
"paycheck": "1900"
},
{
"name": "Jordan",
"pay": { "frequency": "biweekly", "anchor": "2026-11-13" },
"paycheck": "1750"
}
]
}'{
"amountMinor": 285000,
"dueDate": "2026-12-01",
"lastSendDate": "2026-12-01",
"coveredBy": "2026-11-27",
"onTime": true,
"slices": [
{
"payer": "Jordan",
"amountMinor": 71250,
"sendDate": "2026-11-13",
"arrivesOn": "2026-11-13",
"offCycle": false
},
{
"payer": "Alex",
"amountMinor": 142500,
"sendDate": "2026-11-20",
"arrivesOn": "2026-11-20",
"offCycle": false
},
{
"payer": "Jordan",
"amountMinor": 71250,
"sendDate": "2026-11-27",
"arrivesOn": "2026-11-27",
"offCycle": false
}
],
"payers": [
{
"payer": "Alex",
"shareMinor": 142500,
"paychecks": 1,
"largestSliceMinor": 142500,
"percentOfPaycheck": 75
},
{
"payer": "Jordan",
"shareMinor": 142500,
"paychecks": 2,
"largestSliceMinor": 71250,
"percentOfPaycheck": 41
}
],
"issues": [],
"why": [
"Alex: one paycheck (Nov 20) lands in time, so it carries $1,425.00, 75% of that check.",
"Jordan: 2 paychecks land in time (Nov 13, Nov 27), so $1,425.00 becomes $712.50 from each, 41% of a check instead of 82%."
]
}No payday on file, a landing delay, a split by share
rendus POST /plans/preview '{
"amount": "1200",
"dueDate": "2026-11-20",
"today": "2026-11-09",
"lagDays": 2,
"split": "percent",
"payers": [
{
"name": "Sam",
"weight": 60,
"pay": { "frequency": "weekly", "anchor": "2026-11-06" },
"paycheck": "1500"
},
{ "name": "Pat", "weight": 40 }
]
}'{
"amountMinor": 120000,
"dueDate": "2026-11-20",
"lastSendDate": "2026-11-18",
"coveredBy": "2026-11-20",
"onTime": true,
"slices": [
{
"payer": "Sam",
"amountMinor": 72000,
"sendDate": "2026-11-13",
"arrivesOn": "2026-11-17",
"offCycle": false
},
{
"payer": "Pat",
"amountMinor": 48000,
"sendDate": "2026-11-18",
"arrivesOn": "2026-11-20",
"offCycle": true
}
],
"issues": [{ "payer": "Pat", "code": "no_pay_schedule" }],
"why": [
"Sam: one paycheck (Nov 13) lands in time, so it carries $720.00, 48% of that check.",
"Pat: no payday on file, so $480.00 is set for Nov 18, the last day that still arrives on time.",
"Payments take 2 business days to land, so the last day to pay is Nov 18, not Nov 20."
]
}coveredBy is the day the last slice arrives; onTime is true when that is on or before dueDate. Here a payer is named by payer, the id or name you sent. percentOfPaycheck is null without a paycheck.
issues[].code: no_pay_schedule, no_payday_in_window (a pay cycle exists but no paycheck lands in time), past_due. With a key, a preview counts against the key's limit.
- 429rate_limited60 per 10 minutes per address without a key.