Refund
Issue a full or partial refund on a captured payment. You need a Payment ID from a previously captured or purchased payment.
Go to the
/purchase/card or /authorization workflow first to get a captured payment ID.1
Issue Refund
Enter the Payment ID of a captured/succeeded payment and choose full or partial refund.
Verify in Dashboard
Open the Moyasar STAGING Dashboard to see the refunded amount reflected in the payment.
What happened?
POST /v1/payments/:id/refundinitiates a refund on a captured payment.- Omitting
amountrefunds the full captured amount. - Specifying
amountissues a partial refund. - The payment status changes to
refundedorpartially_refunded.