MCP tool reference
Kwitsy's MCP server offers 22 tools. This page is generated from the server's own tool definitions (src/worker/mcp/tools.ts), so names, arguments and descriptions match what an agent receives from tools/list.
Conventions every tool follows
- Endpoint:
POST https://kwitsy.app/mcp, Streamable HTTP, stateless, one JSON-RPC message per request. GET returns 405. - Auth:
Authorization: Bearer grk_…, a per-group token (security model). Without a token the server answers onlyinitialize,pingandtools/list, so clients and directories can list the tools; every call needs the token. - Amounts: decimal strings in major units, dot as the decimal mark:
"12.50"EUR,"1250"JPY. Never JSON numbers. - People: a member name (case-insensitive; a unique prefix is enough) or a member id.
- Dates:
YYYY-MM-DD; default today (UTC). - Balances: in the group's base currency. A positive net means the group owes that person.
- Writes: take an optional
request_id; repeating a call with the same id and arguments never writes twice. Each write returns the entry and the new balances of the people involved. - Errors:
{"error": {"code", "message"}}in plain words, e.g.bad_split,not_found,rejected,idempotency_mismatch,rate_unavailable,over_capacity.
All tools at a glance
| Tool | Kind | What it does |
|---|---|---|
add_comment | write | Add a short plain-text comment (≤ 500 characters) to an entry, as the member this token acts as. |
add_expense | write | Record money someone paid for the group. |
add_income | write | Record money one member received on behalf of the group (refund, deposit back), shared by a split like an expense. |
add_itemized_expense | write | Record a bill split by item, typically read from a receipt photo: each line goes to the people who had it (shared lines split equally), and tax, tip and service are spread in proportion to what each person ordered. |
add_member | write | Add a person to the group. |
attach_receipt | write | Attach a photo of the receipt to an entry (replaces any earlier photo; the old one stays in the entry history). |
create_recurring | write | Set up an expense that repeats (rent, Netflix, internet). |
delete_entry | write | Soft-delete an entry: it stops counting in balances and can be brought back with restore_entry. |
get_balances | read | Each member's net balance in the group base currency (positive = is owed money, negative = owes), the settle-up plan (fewest transfers), and a sum check that is always exactly zero. |
get_entry | read | One entry by id (also deleted ones), with each person's share, its effect on balances, and its change history (who changed what, when, conflicts). |
get_exchange_rate | read | Published exchange rate for a date (Frankfurter, fallback fawazahmed0). |
get_group | read | The group: name, base currency, members with ids, currencies used, and which member this token acts as. |
get_receipt | read | The receipt photo attached to an entry, as an image you can read, plus the entry. |
list_comments | read | Comments on one entry, oldest first, with author and time. |
list_entries | read | Entries (expenses, transfers, income), newest first by date. |
list_recurring | read | Repeating expenses in the group with their schedule, the next 3 dates, how many occurrences were added and whether they are stopped. |
record_transfer | write | Record that one member paid another back (settling up). |
remove_receipt | write | Take the photo off an entry (it stays in the entry history). |
restore_entry | write | Bring back a deleted entry with its latest fields. |
set_entry_items | write | Turn an existing expense into an itemised split (or change its items), e.g. |
stop_recurring | write | Stop a repeating expense: no further occurrences are added; the ones already added stay as normal expenses. |
update_entry | write | Change fields of an entry; only the fields you pass change, the rest are kept. |
Read tools
get_balances
Each member's net balance in the group base currency (positive = is owed money, negative = owes), the settle-up plan (fewest transfers), and a sum check that is always exactly zero. Optional currency shows approximate converted nets too, e.g. {"currency":"USD"}.
| Argument | Type | Required | What it means |
|---|---|---|---|
currency | string | no | Optional ISO 4217 code to also show nets converted at today's rate (approximate) |
get_entry
One entry by id (also deleted ones), with each person's share, its effect on balances, and its change history (who changed what, when, conflicts).
| Argument | Type | Required | What it means |
|---|---|---|---|
id | string | yes | entry id from list_entries or a write result |
Example arguments
{
"id": "0193…"
}
get_exchange_rate
Published exchange rate for a date (Frankfurter, fallback fawazahmed0). Returns how many from one to buys, which is exactly the rate add_expense stores when to is the group base.
| Argument | Type | Required | What it means |
|---|---|---|---|
from | string | yes | ISO 4217 code, e.g. "PLN" |
to | string | no | ISO 4217 code; default the group base |
date | string | no | YYYY-MM-DD, e.g. "2026-11-22". Default: today (UTC) |
Example arguments
{
"from": "PLN",
"to": "EUR",
"date": "2026-11-20"
}
get_group
The group: name, base currency, members with ids, currencies used, and which member this token acts as. Call this first.
No arguments.
get_receipt
The receipt photo attached to an entry, as an image you can read, plus the entry. Use it to itemise the bill with set_entry_items, or to check an amount.
| Argument | Type | Required | What it means |
|---|---|---|---|
id | string | yes | entry id |
Example arguments
{
"id": "0193…"
}
list_comments
Comments on one entry, oldest first, with author and time.
| Argument | Type | Required | What it means |
|---|---|---|---|
entry_id | string | yes | – |
Example arguments
{
"entry_id": "0193…"
}
list_entries
Entries (expenses, transfers, income), newest first by date. Filters: query (text in title or note), member (paid or shares), kind, category, from/to dates (inclusive). limit ≤ 100 (default 20); pass next_cursor back as cursor for more.
| Argument | Type | Required | What it means |
|---|---|---|---|
query | string | no | – |
member | string | no | member name or id |
kind | "expense" | "transfer" | "income" | no | – |
category | "food" | "groceries" | "transport" | "stay" | "fun" | "shopping" | "home" | "other" | "transfer" | no | – |
from | string | no | YYYY-MM-DD, inclusive |
to | string | no | YYYY-MM-DD, inclusive |
limit | integer 1–100 | no | – |
cursor | string | no | – |
Example arguments
{
"query": "pizza",
"from": "2026-11-01",
"limit": 10
}
list_recurring
Repeating expenses in the group with their schedule, the next 3 dates, how many occurrences were added and whether they are stopped. Example output item: {"title":"Rent","schedule":"Every month on the 1st","next_dates":["2026-12-01",…]}
| Argument | Type | Required | What it means |
|---|---|---|---|
include_stopped | boolean | no | – |
Write tools
add_comment
Add a short plain-text comment (≤ 500 characters) to an entry, as the member this token acts as. Limited to 20 comments per person per 10 minutes.
| Argument | Type | Required | What it means |
|---|---|---|---|
entry_id | string | yes | – |
text | string | yes | Plain text, 1–500 characters; no HTML is rendered |
request_id | string, 1–200 chars | no | Optional idempotency key you choose; repeating a call with it never writes twice. |
Example arguments
{
"entry_id": "0193…",
"text": "Includes the tip",
"request_id": "c-1"
}
add_expense
Record money someone paid for the group. Amount is a decimal string in major units ("12.50"), parsed exactly; more decimals than the currency allows are rejected. Defaults: paid by the member this token acts as; split = the group's default split when split is omitted (equal between all active members unless the group set e.g. 60/40 or left someone out; get_group shows it); category suggested from the title when omitted; base currency; today. Foreign currency without rate uses the published rate for the date. Use preview:true to see shares first.
| Argument | Type | Required | What it means |
|---|---|---|---|
title | string | yes | Short title, e.g. "Dinner at Lokál" |
amount | string | yes | Total amount as a decimal string in major units of the currency, dot as decimal mark, e.g. "12.50" (EUR) or "1250" (JPY). Not a number. |
currency | string | no | ISO 4217 code, e.g. "EUR". Default: the group's base currency |
date | string | no | YYYY-MM-DD, e.g. "2026-11-22". Default: today (UTC) |
paid_by | string | no | Who paid the whole amount (default: the member this token acts as): member name (case-insensitive; a unique prefix is enough) or member id |
payers | array of objects | no | Several payers, amounts in major units adding up to the total, e.g. [{"member":"Ana","amount":"10.00"},{"member":"Ben","amount":"2.50"}] |
split | object | no | How the amount is shared, e.g. {"mode":"equal","parts":[{"member":"Ana"},{"member":"Ben"}]} or {"mode":"exact","parts":[{"member":"Ana","value":"7.50"},{"member":"Ben","value":"5.00"}]}. Omitted on add_expense/add_income: the group's default split (get_group shows it; equal between all active members unless the group set another). {"mode":"equal"} with no parts: equal between all active members Fields: mode, parts. |
category | "food" | "groceries" | "transport" | "stay" | "fun" | "shopping" | "home" | "other" | no | One of food, groceries, transport, stay, fun, shopping, home, other. Omitted on add_expense/add_income: suggested from the title (this group's earlier choice for a similar title first, then a keyword list in English, Polish, German, Spanish, French, Italian), "other" when unsure. Omitted on update_entry: unchanged |
note | string | no | – |
rate | string | no | Optional exchange rate as a decimal string: units of the entry currency per 1 unit of the group base currency (e.g. base EUR, entry PLN: "4.2655"). Omit to fetch the published rate for the date. |
rate_inverted | boolean | no | Optional: true if `rate` is given the other way round (base units per 1 entry-currency unit, e.g. "0.2344") |
preview | boolean | no | true: compute and return the entry and everyone's share without saving |
request_id | string, 1–200 chars | no | Optional idempotency key you choose, e.g. "dinner-2026-11-22". Repeating a call with the same request_id and the same arguments never writes twice; reusing it with different arguments fails with idempotency_mismatch. |
Example arguments
{
"title": "Pizza",
"amount": "36.00",
"paid_by": "Ana",
"split": {
"mode": "equal",
"parts": [
{
"member": "Ana"
},
{
"member": "Ben"
}
]
},
"category": "food",
"request_id": "pizza-1122"
}
add_income
Record money one member received on behalf of the group (refund, deposit back), shared by a split like an expense. Amount is a decimal string in major units ("100.00").
| Argument | Type | Required | What it means |
|---|---|---|---|
title | string | yes | Short title, e.g. "Dinner at Lokál" |
amount | string | yes | Total amount as a decimal string in major units of the currency, dot as decimal mark, e.g. "12.50" (EUR) or "1250" (JPY). Not a number. |
currency | string | no | ISO 4217 code, e.g. "EUR". Default: the group's base currency |
date | string | no | YYYY-MM-DD, e.g. "2026-11-22". Default: today (UTC) |
received_by | string | no | Who received the money (default: the member this token acts as): member name (case-insensitive; a unique prefix is enough) or member id |
split | object | no | How the amount is shared, e.g. {"mode":"equal","parts":[{"member":"Ana"},{"member":"Ben"}]} or {"mode":"exact","parts":[{"member":"Ana","value":"7.50"},{"member":"Ben","value":"5.00"}]}. Omitted on add_expense/add_income: the group's default split (get_group shows it; equal between all active members unless the group set another). {"mode":"equal"} with no parts: equal between all active members Fields: mode, parts. |
category | "food" | "groceries" | "transport" | "stay" | "fun" | "shopping" | "home" | "other" | no | One of food, groceries, transport, stay, fun, shopping, home, other. Omitted on add_expense/add_income: suggested from the title (this group's earlier choice for a similar title first, then a keyword list in English, Polish, German, Spanish, French, Italian), "other" when unsure. Omitted on update_entry: unchanged |
note | string | no | – |
rate | string | no | Optional exchange rate as a decimal string: units of the entry currency per 1 unit of the group base currency (e.g. base EUR, entry PLN: "4.2655"). Omit to fetch the published rate for the date. |
rate_inverted | boolean | no | Optional: true if `rate` is given the other way round (base units per 1 entry-currency unit, e.g. "0.2344") |
preview | boolean | no | true: compute and return the entry and everyone's share without saving |
request_id | string, 1–200 chars | no | Optional idempotency key you choose, e.g. "dinner-2026-11-22". Repeating a call with the same request_id and the same arguments never writes twice; reusing it with different arguments fails with idempotency_mismatch. |
Example arguments
{
"title": "Deposit refund",
"amount": "100.00",
"received_by": "Ben",
"request_id": "deposit-back"
}
add_itemized_expense
Record a bill split by item, typically read from a receipt photo: each line goes to the people who had it (shared lines split equally), and tax, tip and service are spread in proportion to what each person ordered. The amount is items + tax + tip + service − discount; pass the printed total to have it checked. Leftover cents land by the same rule as every other split.
| Argument | Type | Required | What it means |
|---|---|---|---|
title | string | yes | Short title, e.g. the restaurant name |
items | array of objects | yes | Receipt lines, e.g. [{"name":"Pizza","amount":"12.00","people":["Ana"]},{"name":"Wine","amount":"18.00","people":["Ana","Ben"]}] |
tax | string | no | Tax ADDED on top of the item prices (omit if prices include it): decimal string in major units of the currency, e.g. "12.50" (EUR) or "1250" (JPY) |
tip | string | no | Tip: decimal string in major units of the currency, e.g. "12.50" (EUR) or "1250" (JPY) |
service | string | no | Service charge: decimal string in major units of the currency, e.g. "12.50" (EUR) or "1250" (JPY) |
discount | string | no | Discount taken off the bill: decimal string in major units of the currency, e.g. "12.50" (EUR) or "1250" (JPY) |
total | string | no | Optional: the total printed on the receipt; the call fails if items + tax + tip + service − discount differ: decimal string in major units of the currency, e.g. "12.50" (EUR) or "1250" (JPY) |
currency | string | no | ISO 4217 code as printed on the receipt, e.g. "EUR". Default: the group base currency |
date | string | no | YYYY-MM-DD as printed. Default: today (UTC) |
paid_by | string | no | Who paid the bill (member name or id). Default: the member this token acts as |
payers | array of objects | no | Several payers adding up to the total |
category | "food" | "groceries" | "transport" | "stay" | "fun" | "shopping" | "home" | "other" | no | – |
note | string | no | – |
rate | string | no | Optional rate: units of the bill currency per 1 unit of the group base currency |
rate_inverted | boolean | no | – |
preview | boolean | no | true: return who pays what without saving |
request_id | string, 1–200 chars | no | Optional idempotency key you choose; repeating a call with it never writes twice. |
Example arguments
{
"title": "Trattoria Da Enzo",
"currency": "EUR",
"date": "2026-11-21",
"paid_by": "Ana",
"items": [
{
"name": "Cacio e pepe",
"amount": "14.00",
"people": [
"Ana"
]
},
{
"name": "Saltimbocca",
"amount": "19.00",
"people": [
"Ben"
]
},
{
"name": "Vino 1/2",
"amount": "12.00",
"people": [
"Ana",
"Ben"
]
}
],
"service": "4.50",
"total": "49.50",
"category": "food",
"request_id": "enzo-1121"
}
add_member
Add a person to the group.
| Argument | Type | Required | What it means |
|---|---|---|---|
name | string | yes | Display name, 1–80 characters |
request_id | string, 1–200 chars | no | Optional idempotency key you choose, e.g. "dinner-2026-11-22". Repeating a call with the same request_id and the same arguments never writes twice; reusing it with different arguments fails with idempotency_mismatch. |
Example arguments
{
"name": "Chiara",
"request_id": "add-chiara"
}
attach_receipt
Attach a photo of the receipt to an entry (replaces any earlier photo; the old one stays in the entry history). image is the JPEG, PNG or WebP file as base64 (a data: URL is fine), at most 2 MB. Everyone in the group sees it in the entry.
| Argument | Type | Required | What it means |
|---|---|---|---|
id | string | yes | entry id |
image | string | yes | base64 image bytes or a data: URL |
request_id | string, 1–200 chars | no | Optional idempotency key you choose; repeating a call with it never writes twice. |
Example arguments
{
"id": "0193…",
"image": "/9j/4AAQ…",
"request_id": "photo-enzo"
}
create_recurring
Set up an expense that repeats (rent, Netflix, internet). The first occurrence is on start; Kwitsy's server then adds each occurrence on its day, exactly once, as a normal expense (dates are calendar days in time_zone). Monthly on the 29th–31st falls on the last day of shorter months; day_of_month -1 means always the last day. Split omitted = the group's default split; category omitted = suggested from the title.
| Argument | Type | Required | What it means |
|---|---|---|---|
title | string | yes | e.g. "Rent" |
amount | string | yes | Each occurrence's amount, decimal string in major units, e.g. "49.99" |
currency | string | no | ISO 4217; default the group base currency. A foreign currency uses the rate for `start` for every occurrence until edited in the app. |
frequency | "weekly" | "monthly" | "yearly" | yes | – |
interval | integer 1–52 | no | Every N weeks/months/years; default 1 |
start | string | no | First occurrence, YYYY-MM-DD; default today (UTC). A past date adds the past occurrences right away. |
until | string | no | Last possible date, YYYY-MM-DD inclusive; omit for no end |
day_of_month | integer -1–31 | no | monthly/yearly: day 1–31, or -1 for the last day; default the day of `start` |
time_zone | string | no | IANA zone deciding when a day starts, e.g. "Europe/Warsaw"; default "UTC" |
paid_by | string | no | member name or id; default the member this token acts as |
payers | array of objects | no | Several payers, amounts in major units adding up to the total, e.g. [{"member":"Ana","amount":"10.00"},{"member":"Ben","amount":"2.50"}] |
split | object | no | How the amount is shared, e.g. {"mode":"equal","parts":[{"member":"Ana"},{"member":"Ben"}]} or {"mode":"exact","parts":[{"member":"Ana","value":"7.50"},{"member":"Ben","value":"5.00"}]}. Omitted on add_expense/add_income: the group's default split (get_group shows it; equal between all active members unless the group set another). {"mode":"equal"} with no parts: equal between all active members Fields: mode, parts. |
category | "food" | "groceries" | "transport" | "stay" | "fun" | "shopping" | "home" | "other" | no | – |
note | string | no | – |
request_id | string, 1–200 chars | no | Optional idempotency key you choose; repeating a call with it never writes twice. |
Example arguments
{
"title": "Rent",
"amount": "3000.00",
"frequency": "monthly",
"start": "2026-12-01",
"paid_by": "Ana",
"time_zone": "Europe/Warsaw",
"request_id": "rent-series"
}
delete_entry
Soft-delete an entry: it stops counting in balances and can be brought back with restore_entry.
| Argument | Type | Required | What it means |
|---|---|---|---|
id | string | yes | – |
request_id | string, 1–200 chars | no | Optional idempotency key you choose, e.g. "dinner-2026-11-22". Repeating a call with the same request_id and the same arguments never writes twice; reusing it with different arguments fails with idempotency_mismatch. |
Example arguments
{
"id": "0193…",
"request_id": "del-pizza"
}
record_transfer
Record that one member paid another back (settling up). Amount is a decimal string in major units.
| Argument | Type | Required | What it means |
|---|---|---|---|
from | string | yes | Who sent the money: member name (case-insensitive; a unique prefix is enough) or member id |
to | string | yes | Who received it: member name (case-insensitive; a unique prefix is enough) or member id |
amount | string | yes | Amount as a decimal string in major units of the currency, dot as decimal mark, e.g. "12.50" (EUR) or "1250" (JPY). Not a number. |
currency | string | no | ISO 4217 code, e.g. "EUR". Default: the group's base currency |
date | string | no | YYYY-MM-DD, e.g. "2026-11-22". Default: today (UTC) |
rate | string | no | Optional exchange rate as a decimal string: units of the entry currency per 1 unit of the group base currency (e.g. base EUR, entry PLN: "4.2655"). Omit to fetch the published rate for the date. |
request_id | string, 1–200 chars | no | Optional idempotency key you choose, e.g. "dinner-2026-11-22". Repeating a call with the same request_id and the same arguments never writes twice; reusing it with different arguments fails with idempotency_mismatch. |
Example arguments
{
"from": "Ana",
"to": "Ben",
"amount": "42.10",
"request_id": "settle-ana-ben"
}
remove_receipt
Take the photo off an entry (it stays in the entry history).
| Argument | Type | Required | What it means |
|---|---|---|---|
id | string | yes | entry id |
request_id | string, 1–200 chars | no | Optional idempotency key you choose; repeating a call with it never writes twice. |
Example arguments
{
"id": "0193…"
}
restore_entry
Bring back a deleted entry with its latest fields.
| Argument | Type | Required | What it means |
|---|---|---|---|
id | string | yes | – |
request_id | string, 1–200 chars | no | Optional idempotency key you choose, e.g. "dinner-2026-11-22". Repeating a call with the same request_id and the same arguments never writes twice; reusing it with different arguments fails with idempotency_mismatch. |
Example arguments
{
"id": "0193…"
}
set_entry_items
Turn an existing expense into an itemised split (or change its items), e.g. after reading its receipt with get_receipt. The entry keeps its currency, date, rate and payer; its amount becomes items + tax + tip + service − discount (pass total to check it against the receipt). If several people paid and the amount changes, pass payers.
| Argument | Type | Required | What it means |
|---|---|---|---|
id | string | yes | entry id |
items | array of objects | yes | Receipt lines, e.g. [{"name":"Pizza","amount":"12.00","people":["Ana"]},{"name":"Wine","amount":"18.00","people":["Ana","Ben"]}] |
tax | string | no | Tax ADDED on top of the item prices (omit if prices include it): decimal string in major units of the currency, e.g. "12.50" (EUR) or "1250" (JPY) |
tip | string | no | Tip: decimal string in major units of the currency, e.g. "12.50" (EUR) or "1250" (JPY) |
service | string | no | Service charge: decimal string in major units of the currency, e.g. "12.50" (EUR) or "1250" (JPY) |
discount | string | no | Discount taken off the bill: decimal string in major units of the currency, e.g. "12.50" (EUR) or "1250" (JPY) |
total | string | no | Optional: the total printed on the receipt; the call fails if items + tax + tip + service − discount differ: decimal string in major units of the currency, e.g. "12.50" (EUR) or "1250" (JPY) |
payers | array of objects | no | – |
request_id | string, 1–200 chars | no | Optional idempotency key you choose; repeating a call with it never writes twice. |
Example arguments
{
"id": "0193…",
"items": [
{
"name": "Burger",
"amount": "15.50",
"people": [
"Ana"
]
},
{
"name": "Nachos",
"amount": "12.00",
"people": [
"Ana",
"Ben",
"Cy"
]
}
],
"tax": "2.40",
"tip": "5.00",
"total": "34.90",
"request_id": "itemise-diner"
}
stop_recurring
Stop a repeating expense: no further occurrences are added; the ones already added stay as normal expenses.
| Argument | Type | Required | What it means |
|---|---|---|---|
id | string | yes | series id from list_recurring, or its exact title |
request_id | string, 1–200 chars | no | Optional idempotency key you choose; repeating a call with it never writes twice. |
update_entry
Change fields of an entry; only the fields you pass change, the rest are kept. Amounts are decimal strings in major units. For transfers use from/to; for income received_by. Changing the amount of an entry with several payers or an exact split needs payers / split too. Reports a conflict notice if someone else changed the same part meanwhile.
| Argument | Type | Required | What it means |
|---|---|---|---|
id | string | yes | entry id |
title | string | no | – |
amount | string | no | New total as a decimal string in major units of the currency, dot as decimal mark, e.g. "12.50" (EUR) or "1250" (JPY). Not a number. |
currency | string | no | ISO 4217 code, e.g. "EUR". Default: the group's base currency |
date | string | no | YYYY-MM-DD, e.g. "2026-11-22". Default: today (UTC) |
category | "food" | "groceries" | "transport" | "stay" | "fun" | "shopping" | "home" | "other" | no | One of food, groceries, transport, stay, fun, shopping, home, other. Omitted on add_expense/add_income: suggested from the title (this group's earlier choice for a similar title first, then a keyword list in English, Polish, German, Spanish, French, Italian), "other" when unsure. Omitted on update_entry: unchanged |
note | string | no | – |
paid_by | string | no | Single payer (expense): member name (case-insensitive; a unique prefix is enough) or member id |
payers | array of objects | no | Several payers, amounts in major units adding up to the total, e.g. [{"member":"Ana","amount":"10.00"},{"member":"Ben","amount":"2.50"}] |
received_by | string | no | Receiver (income): member name (case-insensitive; a unique prefix is enough) or member id |
from | string | no | Who sent the money (transfer): member name (case-insensitive; a unique prefix is enough) or member id |
to | string | no | Who received it (transfer): member name (case-insensitive; a unique prefix is enough) or member id |
split | object | no | How the amount is shared, e.g. {"mode":"equal","parts":[{"member":"Ana"},{"member":"Ben"}]} or {"mode":"exact","parts":[{"member":"Ana","value":"7.50"},{"member":"Ben","value":"5.00"}]}. Omitted on add_expense/add_income: the group's default split (get_group shows it; equal between all active members unless the group set another). {"mode":"equal"} with no parts: equal between all active members Fields: mode, parts. |
rate | string | no | Optional exchange rate as a decimal string: units of the entry currency per 1 unit of the group base currency (e.g. base EUR, entry PLN: "4.2655"). Omit to fetch the published rate for the date. |
rate_inverted | boolean | no | Optional: true if `rate` is given the other way round (base units per 1 entry-currency unit, e.g. "0.2344") |
request_id | string, 1–200 chars | no | Optional idempotency key you choose, e.g. "dinner-2026-11-22". Repeating a call with the same request_id and the same arguments never writes twice; reusing it with different arguments fails with idempotency_mismatch. |
Example arguments
{
"id": "0193…",
"amount": "40.00",
"title": "Pizza and drinks",
"request_id": "fix-pizza"
}