getInvoicePayments
getInvoicePaymentsRetrieve successful payments linked to a specific invoice, excluding refunds and non-success states; amounts are returned in cents.
Instructions
Get successful payments currently associated with a specific invoice. This view may omit refund records and non-success payment states. Payment amounts are in cents.
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>"
},
"name": "getInvoicePayments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | The ID of the invoice. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |