getPaymentById
getPaymentByIdRetrieve a payment’s details by its unique ID to verify status, amount in cents, and related information. Use it when you need specific payment records for billing or reconciliation.
Instructions
Retrieve details for a specific payment by its ID. 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": {
"paymentId": "<paymentId>"
},
"name": "getPaymentById"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paymentId | Yes | The unique ID of the payment to retrieve. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |