---
updatedAt: 2025-06-12T21:22:34.000Z
agentTools:
  projectIndex: https://developers.opennode.com/llms.txt
---

# Create refund

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "opennode-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.opennode.com/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "",
        "x-default": "API-KEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "tags": [
    {
      "name": "Refunds",
      "description": "Manage refunds"
    }
  ],
  "paths": {
    "/v1/refunds": {
      "post": {
        "summary": "Create refund",
        "description": "",
        "operationId": "create-refund",
        "tags": [
          "Refunds"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "checkout_id",
                  "address"
                ],
                "properties": {
                  "checkout_id": {
                    "type": "string",
                    "description": "Underpaid charge ID"
                  },
                  "address": {
                    "type": "string",
                    "description": "Bitcoin address to send the funds"
                  },
                  "email": {
                    "type": "string",
                    "description": "Buyer email to get notified of the refund"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"data\": {\n        \"id\": \"69795981-d240-4905-bb0b-979aafb0acec\",\n        \"email\": \"customer@email.com\",\n        \"address\": \"2My3XVJVboxxEvwGbHGthkVnohh2nwfW61G\",\n        \"amount\": \"10000\",\n        \"fee\": \"200\",\n        \"tx\": null,\n        \"status\": \"pending\",\n        \"created_at\": 1559311315,\n        \"processed_at\": null,\n        \"checkout_id\": \"a90afb9f-6308-4aa1-bf4c-8a32a8e22e32\"\n    }\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```