Wallets

Returns all the wallets without any linked data. Use the wallet ID to get the full wallet details.

get/v1/wallets

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Response

Success

account_idstring uuid required

Owning account ID

asset_idstring uuid required

Spendable asset held by this wallet

created_atstring date-time required

Date of creation in database

idstring uuid required

Internal ID

labelstring nullable

Optional account-specific display label.

updated_atstring date-time nullable

Date of update in database

Example response

[
  {
    "asset": {
      "asset_ref": "native",
      "code": "BTC",
      "decimals": 11,
      "display_ticker": "BTC",
      "name": "Bitcoin"
    },
    "balance": {
      "available_msat": 989999000,
      "fees_paid_msat": 1000,
      "received_msat": 1000000000,
      "reserved_msat": 2000,
      "sent_msat": 10000000
    },
    "contacts": [
      {
        "ln_address": "dario_nakamoto@numeraire.tech"
      }
    ],
    "invoices": [
      {
        "ln_invoice": {
          "bolt11": "lnbcrt1m1png24kasp5...",
          "expiry": 3600,
          "min_final_cltv_expiry_delta": 10,
          "payee_pubkey": "02086a3f5b67ac4c43...",
          "payment_hash": "b587c7f76339e3fb87ad2b...",
          "payment_secret": "019a32e03bb375a42bc..."
        }
      }
    ],
    "ln_address": {
      "nostr_pubkey": "d9c2ec59a98c..."
    },
    "payments": [
      {
        "error": "failed to pay error message",
        "internal": {
          "btc_address": "bc1q...",
          "ln_address": "hello@numeraire.tech",
          "payment_hash": "b587c7f76339e3fb87ad2b..."
        },
        "lightning": {
          "ln_address": "hello@numeraire.tech",
          "payment_hash": "b587c7f76339e3fb87ad2b..."
        }
      }
    ]
  }
]

Changes

    • breaking

      removed the required property /// from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • info

      added the required property ////// to the response with the status