Debit Credits from Managed Account
ontouser_team_debitCredits von einem VERWALTETEN Konto zurueck auf das EIGENE Konto abbuchen. Gegenstueck zu ontouser_team_transfer: dort fliesst Geld vom Manager zum Kunden, hier zurueck. Quelle ist immer das Kundenkonto aus ontouser_team_index, Ziel immer das eigene. reason und idempotency_key sind Pflicht (max 64 Zeichen); derselbe Schluessel liefert schon_gebucht=true statt doppelt zu buchen. Reicht das Guthaben des Kunden nicht: 409, und es wird NICHTS gebucht (keine Teilbuchung, kein Minus beim Kunden). Fuer Nachfuellen nimm ontouser_team_transfer. | EN: debit, deduct, take back credits, claw back, reverse top-up
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": {
"profile_id": "<profile_id>",
"credits": "<credits>",
"reason": "<reason>",
"idempotency_key": "<idempotency_key>"
},
"name": "ontouser_team_debit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Grund der Abbuchung (Pflicht, erscheint im Ledger und im Aktionslog) | |
| credits | Yes | Anzahl Credits, > 0 (Pflicht). Das Konto geht nie ins Minus. | |
| profile_id | Yes | Verwaltetes Konto, von dem abgebucht wird (Pflicht, aus ontouser_team_index) | |
| idempotency_key | Yes | Eindeutiger Schluessel pro Absicht, max 64 Zeichen. Derselbe Schluessel liefert schon_gebucht=true statt doppelt zu buchen. |