create_contract_payment
Record a payment against a contract using its ID, the paid amount, and an optional note. Supports negative amounts to process refunds.
Instructions
Create a new payment for a contract
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": {
"contract_id": "<contract_id>",
"amount": "<amount>"
},
"name": "create_contract_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Payment note or description | |
| amount | Yes | Amount paid (can be negative for refunds) | |
| contract_id | Yes | Contract ID |