Payment status
payment_statusCheck whether an invoice is paid, with amounts received and what to do next. invoice.paid webhooks fire only on paid; processing means a payment is on its way, so do not fulfil yet.
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": "payment_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| next | Yes | ||
| paid | Yes | ||
| amount | Yes | ||
| paidAt | Yes | ||
| status | Yes | ||
| currency | Yes | ||
| invoiceId | Yes | ||
| latestAttempt | Yes | ||
| amountExpected | No | ||
| amountReceived | No |