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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paymentId | Yes | PaymentId from a callback or payment response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes |