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
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 |