apply_credit
Pay Hostkey invoices in full or in part from the account credit balance; deducts the specified amount and requires confirmation to complete.
Instructions
Pay an invoice in full or in part from the credit balance (whmcs/apply_credit). MONEY: deducts funds from the account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Payment amount in account currency | |
| confirm | Yes | Must be true to run the operation. | |
| invoice_id | Yes | Invoice number |