Record payment
record_paymentRecord that money changed hands outside splitsi, from one member to another, in the group currency. from defaults to the caller. When the caller is the receiver (to) the payment is confirmed immediately; when the caller is the payer it stays recorded until the receiver calls confirm_payment. Recorded payments show in net_pending_minor only. If the other person already recorded this payment (an inbox item asks to confirm it), confirm_payment is the tool: recording it again counts it twice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"group_id": "<group_id>",
"to": "<to>",
"amount": "<amount>",
"idempotency_key": "<idempotency_key>"
},
"name": "record_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | No | ||
| note | No | ||
| amount | Yes | ||
| group_id | Yes | ||
| occurred_at | No | ||
| idempotency_key | Yes | Any unique string you make up for this action, 8-128 characters (a UUID works). Reuse the same key only to retry this exact call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox | No | ||
| payment | Yes | ||
| suggested_next | Yes |