Add Payment
whmcs_add_paymentRecord an invoice payment by providing invoice ID, amount, gateway, and transaction ID. Accepts optional date, fees, and email suppression.
Instructions
Record a payment on an invoice
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": {
"invoiceid": "<invoiceid>",
"transid": "<transid>",
"gateway": "<gateway>"
},
"name": "whmcs_add_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Payment date (YYYY-MM-DD) | |
| fees | No | Transaction fees | |
| amount | No | Payment amount | |
| gateway | Yes | Payment gateway name | |
| noemail | No | Do not send email | |
| transid | Yes | Transaction ID | |
| invoiceid | Yes | Invoice ID |