---
agentTools:
  projectIndex: https://synonym.readme.io/llms.txt
---

# Finalise a purchased channel

Set the node that Blocktank will open a channel to after paying for your channel.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "Blocktank is a Lightning Network service provider (LSP) with various services that aim to make Lightning Network better.",
    "version": "1.0.0",
    "title": "Blocktank"
  },
  "tags": [
    {
      "name": "Channels",
      "description": "All endpoints related to buying lightning channels"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "samples-enabled": true,
    "samples-languages": [
      "curl"
    ],
    "proxy-enabled": true
  },
  "paths": {
    "/channel/manual_finalise": {
      "post": {
        "tags": [
          "Channels"
        ],
        "summary": "Finalise a purchased channel",
        "description": "Set the node that Blocktank will open a channel to after paying for your channel.",
        "operationId": "finaliseChannel",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "product_id",
                  "order_id",
                  "node_uri",
                  "private"
                ],
                "properties": {
                  "product_id": {
                    "type": "string"
                  },
                  "order_id": {
                    "type": "string"
                  },
                  "node_uri": {
                    "type": "string"
                  },
                  "private": {
                    "type": "boolean"
                  }
                }
              }
            }
          },
          "description": "Channel to purchase."
        },
        "responses": {
          "200": {
            "description": "Channel claimed"
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://blocktank.synonym.to/api/v1"
    }
  ],
  "_id": {
    "buffer": {
      "0": 97,
      "1": 136,
      "2": 141,
      "3": 121,
      "4": 248,
      "5": 94,
      "6": 228,
      "7": 0,
      "8": 42,
      "9": 196,
      "10": 77,
      "11": 96
    }
  }
}
```