Refund Payment
Changed onProcess 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
- Base URLhttps://stream-app-service.streampay.sa
- Auth
- HTTP bearer
- or API key in header x-api-key
Path parameters
Unique identifier (UUID) of the payment to refund
Request body
Response
Successful Response
Changes
- warning
added the new
PAYMENT_REFUND_BEFORE_SUCCESSenum value to the/response property for the response status - warning
added the new
PAYMENT_REFUND_CONFLICTenum value to the/response property for the response status - warning
added the new
PAYMENT_REFUND_NOT_RECORDEDenum value to the/response property for the response status
- warning
- warning
added the new
INVOICE_CANCEL_CONFLICTenum value to the/response property for the response status - warning
added the new
INVOICE_REACTIVATION_BLOCKEDenum value to the/response property for the response status - warning
added the new
INVOICE_REACTIVATION_CONFLICTenum value to the/response property for the response status
- warning