{
  "opencollection": "1.0.0",
  "info": {
    "name": "OpenNode Account Refunds API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Refunds",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List refunds",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.opennode.com/v1/refunds"
          },
          "docs": "Returns a list of all refunds for the authenticated merchant account."
        },
        {
          "info": {
            "name": "Create a refund",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.opennode.com/v1/refunds",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Issues a full or partial refund for a charge back to the original payer's Bitcoin or Lightning address.\n"
        },
        {
          "info": {
            "name": "Get a refund",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.opennode.com/v1/refund/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique refund identifier"
              }
            ]
          },
          "docs": "Retrieves the details of a specific refund by its ID."
        }
      ]
    }
  ],
  "bundled": true
}