Apply wallet credit to invoice
apply_client_creditPay an invoice using the client's credit balance, applying the maximum available unless a specific amount is provided.
Instructions
Pay (part of) an invoice using the client's wallet/credit balance.
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": {
"invoice_number": "<invoice_number>"
},
"name": "apply_client_credit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credit_amount | No | Omit to apply the maximum possible | |
| invoice_number | Yes | Invoice NUMBER (not UUID) |