Refund Payment
POST/api/v2/payments/:payment_id/refund
Process a refund for a payment.
Supports full refunds. The refund reason and optional note can be specified in the request.
Note: If the customer paid multiple payments in a single transaction, you may receive an error
(400 Bad Request) indicating multiple payments in the transaction. The error response will include
details about all related payments. In this case, set allow_refund_multiple_related_payments to
true to refund all payments that were part of the same transaction.
Request
Responses
- 200
- 400
- 422
Successful Response
Multiple payments were paid in a single transaction. Set 'allow_refund_multiple_related_payments' to true to refund all related payments.
Validation Error