Cancel a payment
POST/api/v1/payments/:id/cancel
Cancel a payment that is in INITIATED status. Only PAYMENT type transactions can be cancelled; other transaction types will return an error.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Payment cancelled
Invalid state or wrong transaction type
Authentication credentials are missing or invalid
Authenticated but not authorized for this resource
Transaction not found