`POST /api/v1/payments/:id/refund`
POST /api/v1/payments/:id/refund
POST
Path parameters
string
required
Payment ID (UUID)
Request body
CreateRefundRequest
string
required
string,null
string,null
Responses
PaymentResponse
Refund created
ErrorBody
Invalid request
ErrorBody
Payment not found
ErrorBody
Idempotency-Key reused with a different body
ErrorBody
Idempotency-Key header required on this endpoint (configurable)