Create a MyFatoorah refund
myfatoorah_create_refundCreate a full or partial refund for a payment after explicit user approval, moving real money in live environments.
Instructions
Creates a real full or partial refund using POST /v3/refunds. This moves money in live environments. Call only after the user explicitly approves the exact PaymentId and amount; confirm must be true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| comment | No | ||
| confirm | Yes | Must be true after explicit user approval. | |
| paymentId | Yes | ||
| idempotencyKey | No | ||
| externalIdentifier | No | ||
| supplierRefundedAmount | No | ||
| serviceChargeOnCustomer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes |