Refund Payment
POST/payments/:id/refund
Returns funds from a completed payment back to the customer's original payment method.
Refund options:
- Full refund: Return the entire payment amount
- Partial refund: Specify an amount less than the original payment
- Multiple partial refunds: Issue several partial refunds until the total payment amount is reached
Limitations:
- You can only refund payments that have been successfully processed
- A payment can only be refunded up to its original amount
- Once fully refunded, a payment cannot be refunded again
- Attempting to refund more than the remaining available amount will result in an error
Request
Responses
- 200
- 400
- 401
- 404
- 422
- 500
- 503
A payment object
The request is incorrect or could not be processed
Unauthorized error. Please check your auth credentials
The specified resource was not found
The request was well-formed but could not be processed due to semantic errors
Unexpected server error
The service is temporarily unavailable