Payments
Reverse a payment - tries void first (for unsettled transactions), falls back to refund. This is the recommended endpoint for canceling payments as it automatically picks the right method.
Changed onpost/Payments/{id}/reverse
Request
- Base URLhttps://api.clinicos.vet/backend/business
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The payment ID to reverse
Request body
Response
OK
Changes
- breaking
the response property
/became nullable for the status (media type: text/plain) - breaking
the response property
/became nullable for the status (media type: application/json) - breaking
the response property
/became nullable for the status (media type: text/json) - info
added the optional property
/to the response with the status (media type: text/plain) - info
added the optional property
/to the response with the status (media type: application/json) - info
added the optional property
/to the response with the status (media type: text/json)
- breaking
- info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: text/json) - info
added the new optional request property
(media type: application/*+json)
- info