Wallets
Register a new wallet
Changed onReturns the account asset wallet.
post/v1/wallets
Request
- The document declares no server URL.
- Auth: HTTP bearer
Request body
Response
Wallet Created
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
- breaking
- info
the request property
became nullable - info
the request property
became optional
- info