Set payment details
set_payment_methodsSet how a participant wants to be paid back, so the split can show a QR code or pay link. Replaces their current list (pass an empty array to clear it). Works on simple, accountless splits. Secure splits (created by a signed-in user) are read-only here and must be opened in a browser.
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": {
"split": "<split>",
"participant": "<participant>",
"methods": "<methods>"
},
"name": "set_payment_methods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| split | Yes | The split key, or the whole https://split.xuper.fun/k/<key> link. | |
| methods | Yes | ||
| participant | Yes | Whose details these are — a participant's name (or id) in this split. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| url | Yes | ||
| title | Yes | ||
| secure | Yes | ||
| entries | Yes | ||
| settled | Yes | ||
| currency | Yes | ||
| created_at | Yes | ||
| settlement | Yes | ||
| total_spent | Yes | ||
| participants | Yes |