Refund Payment
POST/api/v2/payments/:payment_id/refund
Process a refund for a payment.
Refunds settle the requested amount or the remaining refundable balance for the selected payment.
If that payment is part of a shared Moyasar charge, set
payment_is_part_of_related_set to true to distribute the refund across related payments in
invoice order.
Request
Responses
- 200
- 400
- 422
Successful Response
Multiple payments were paid in a single transaction. Set 'payment_is_part_of_related_set' to true to refund across them.
Validation Error