{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bare-bitcoin/json-schema/bare-bitcoin-get-bitcoin-withdrawal-response-schema.json",
  "title": "GetBitcoinWithdrawalResponse",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/bare-bitcoin-developers-openapi.json#/components/schemas/GetBitcoinWithdrawalResponse",
  "type": "object",
  "properties": {
    "withdrawalId": {
      "type": "string"
    },
    "destination": {
      "type": "string",
      "description": "The destination of the withdrawal."
    },
    "network": {
      "enum": [
        "NETWORK_BITCOIN",
        "NETWORK_LIGHTNING"
      ],
      "type": "string",
      "description": "The network this withdrawal was sent on.",
      "format": "enum"
    },
    "amountBtc": {
      "type": "number",
      "description": "The amount of BTC that was withdrawn.",
      "format": "double"
    },
    "amountNok": {
      "type": "number",
      "description": "The value of the BTC that was withdrawn, in NOK equivalent\n at time of withdrawal.",
      "format": "double"
    },
    "status": {
      "enum": [
        "WITHDRAWAL_STATUS_PENDING",
        "WITHDRAWAL_STATUS_COMPLETED",
        "WITHDRAWAL_STATUS_FAILED"
      ],
      "type": "string",
      "description": "The status of the withdrawal.",
      "format": "enum"
    },
    "createdAt": {
      "type": "string",
      "description": "The time the withdrawal was initiated.",
      "format": "date-time"
    },
    "sentAt": {
      "type": "string",
      "description": "The time the withdrawal was sent from the platform.",
      "format": "date-time"
    }
  }
}