- Preview
- A travel savings goal with a remaining balance and a preset deposit.
- Inputs
- id, title, currency, targetMinor and savedMinor. Optional deadlineLabel, depositMinor and revision.
- Source options
- Map the confirmed saved balance and goal from the host ledger. Use one ISO currency and integer minor units.
- Actions
- Inspect progress and confirm the preset deposit when the host enables it. The deposit callback receives { goalId, revision, amountMinor }. Refresh the balance after confirmation.
- Integration requirements
- Use a positive target and null for an unknown balance. A proposed deposit is limited to the known amount remaining and requires a revision.
{
"snapshot": {
"id": "goal-fjord",
"title": "Summer Trip",
"currency": "USD",
"targetMinor": 450000,
"savedMinor": 367500,
"deadlineLabel": "By Jun 15",
"depositMinor": 7500,
"revision": "r1"
}
}