Get MyFatoorah payment details
myfatoorah_get_paymentRetrieve authoritative payment details by PaymentId to verify payment status, checking that Invoice.Status is PAID and Transaction.Status is SUCCESS.
Instructions
Gets authoritative payment details by PaymentId using GET /v3/payments/{paymentId}. Treat payment as successful only when Invoice.Status is PAID and Transaction.Status is SUCCESS.
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": "myfatoorah_get_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paymentId | Yes | PaymentId from a callback or payment response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes |