POST https://gate.reviopay.com/api/v1/purchases/{id}/cancel/Description
If you have a Purchase that payment is possible for, using this request you can guarantee that it won’t be paid.
Example
curl -X POST https://gate.reviopay.com/api/v1/purchases/{id}/cancel/ \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json'Responses
| Status | Description |
|---|---|
200 | OK |
404 | No such object |