getInvoicePaymentsById
getInvoicePaymentsByIdRetrieve successful payments for a specific invoice ID to reconcile invoice status and amounts; results include only successful transactions, and payment amounts are in cents.
Instructions
Get successful payments associated with a specific invoice ID. This endpoint is success-only and may not show refund rows. 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": "getInvoicePaymentsById"
}
}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 |