Refund a payment
POST/api/v1/payments/:id/refund
Create a refund for a completed payment. Partial refunds are supported by specifying an amount less than the original. Total refund amount (including previous refunds) cannot exceed the original transaction amount.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
Refund initiated
Refund amount exceeds original or invalid state
Authentication credentials are missing or invalid
Authenticated but not authorized for this resource
Transaction not found
Request validation failed