Refund a payment
Refunds a payment with a 'paid' status.
Refunds can be:
Issued in full.
Issued in multiple partial refunds, as long as the refunded amount is within the received payment amount. Only a single refund will be processed at a time.
Funds will be refunded through the payment method that the payment was made by.
Parameters
refund_amount_in_cents required
A positive integer representing the amount to refund. The amount must not exceed the remaining refundable amount.
Returns
Returns a payment
object if the refund succeeds. Returns an error if the payment
object has already been fully refunded or has prior pending/failed refunds.
POST /v1/payment-services/:payment_service_id/payments/:paymentId/refund
RESPONSE
Last updated