# Cancels a refund Cancels a refund. It is possible to cancel refund only in open, pending or processing state. Endpoint: DELETE /refunds/{id} Version: v1 Security: apiKey ## Path parameters: - `id` (string, required) ## Response 200 fields (application/json): - `id` (string, required) Example: "PRRNQH3PCD125Z" - `type` (string, required) Enum: "refund" - `amount` (integer, required) Example: 1000 - `description` (string, required) Example: "Test Payment" - `reason` (string,null, required) - `currency` (string, required) Enum: "EUR" - `payment` (string, required) Example: "PPBLGEE6UG92MS" - `state` (string, required) Example: "refunded" - `refunded_at` (string,null, required) Example: "2023-06-30T12:44:35Z" - `created_at` (string, required) Example: "2023-06-30T12:40:10Z" - `_links` (object, required) Example: {"self":"https://api.paypro.nl/refunds/PRRNQH3PCD125Z","payment":"https://api.paypro.nl/payments/PPBLGEE6UG92MS"} - `_links.self` (string, required) Example: "https://api.paypro.nl/refunds/PRRNQH3PCD125Z"