Skip to content
Bare BitcoinDevelopers

Search documentation

↑ ↓ Select · Enter Open · Escape Close

barebitcoin.no ↗
Menu
← Models

SendBitcoinRequest

object

View Markdown

Properties

destinationstring

The bitcoin destination to send funds to. Supported formats: - Bitcoin address (bech32, legacy-segwit, legacy) - Lightning invoice (bolt11) - Lightning address - Lightning LNURL

Example: "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"

amountBtcnumber · double

The amount to send. This field is required for all destinations except Lightning invoices. If the destination is a Lightning invoice, the amount is derived from the invoice.

Example: 0.01

accountIdstring

The ID of the account to send from. If empty, the default account is used.

Example: "acc_01HQZX3V9KJ4M2P8R6T0W5Y7BC"

isPaymentboolean

Marks the transaction as a payment. This has consequences for how the transaction is exported for tax purposes. It has no effect on the bitcoin transaction itself.

Example: false

descriptionstring

Free-form text description of the withdrawal. Can be used to correlate with your own systems.

Example: "Til hardware-lommebok"

tfrInfoInfo

The recipient of this transaction, per EU's travel rule. Required for all withdrawals to new destinations. full_name and address are always required, also when the recipient is an organisation.

Info
Show fields
fullNamestring

Recipient name. For an organisation this is its registered name. Required for a private individual; optional for an organisation, which is identified by the organisasjonsnummer in nin.

countrystring

ISO-3166-1 alpha-2 country code

addressstring
ninstring

The recipient's fødselsnummer, or a 9-digit organisasjonsnummer when the recipient is an organisation. Only required if the TFR config said so.

exchangestring
selfCustodyboolean

Used by

Initiate withdrawal · request