<p>I think you need something like this</p>

<pre><code>&lt;a rel="payment" href="bitcoin:bitcoin_address_is_here?amount=5.00?message=payment to site name"&gt;&lt;h2&gt;Pay in Bitcoin now&lt;/h2&gt;&lt;/a&gt;
</code></pre>

CC BY-SA 4.0
2020-05-16T14:40:49.477Z
2020-05-16T14:40:49.477Z
Meshach Friday
<p>The Bitcoin Improvement Proposal that defines the Bitcoin URI scheme is  <a href="https://en.bitcoin.it/wiki/BIP_0021" rel="noreferrer">BIP21</a>.</p>

<p>The simple syntax is:</p>

<pre><code>bitcoin:&lt;address&gt;[?amount=&lt;amount&gt;][?label=&lt;label&gt;][?message=&lt;message&gt;]
</code></pre>

<p>On the desktop all of Armory, Electrum and MultiBit respond to Bitcoin URI clicks in a browser and I believe Bitcoin-QT V0.7 does as well.</p>

<p>On mobiles Android Bitcoin Wallet does. On the iPhone the blockchain.info app does.</p>

CC BY-SA 3.0
2014-01-13T23:02:16.843Z
It's important to note that although it isn't specified in the simple syntax, '?' after the first are changed to '&' as in regular URLs.  For example: `bitcoin:<myaddress>?amount=1&message=mymsg`
Kevin Cox
CC BY-SA 3.0
2015-03-26T15:19:09.190Z
Not to nitpick, but the acronym "BIP" stands for *Bitcoin Improvement Proposal* instead of *Bitcoin Improvement Process*.
Priidu Neemre
CC BY-SA 3.0
2016-02-10T08:57:21.577Z
Apparently the number of decimals in the BTC amount matters. My wallet was rejecting the uri until I reduced the decimals to eight.
KalenGi
CC BY-SA 3.0
2012-10-11T20:56:20.700Z
Bitcoin-Qt v0.7 for Windows does.  Not Mac or Linux yet.
Stephen Gornick
CC BY-SA 3.0
2012-10-06T21:36:02.390Z
2017-04-16T13:48:20.793Z
2017-04-16T13:48:20.793Z
jim618
<p>What is the URL scheme that is used by Bitcoin to copy transaction information directly into the client? Which versions of Bitcoin clients support it?</p>

<bitcoin-core><client><standard><bip21-uri>
Bitcoin URL scheme
ThePiachu
# Bitcoin URL scheme

(Asked by: username_0 on 2012-10-06)

What is the URL scheme that is used by Bitcoin to copy transaction information directly into the client? Which versions of Bitcoin clients support it?

**Tags:** bitcoin-core, client, standard, bip21-uri


---

## 2 answers

### Answer by username_2 on 2012-10-06. Score: 32 | Accepted answer

The Bitcoin Improvement Proposal that defines the Bitcoin URI scheme is [BIP21](https://en.bitcoin.it/wiki/BIP_0021).

The simple syntax is:

```
bitcoin:<address>[?amount=<amount>][?label=<label>][?message=<message>]

```

On the desktop all of Armory, Electrum and MultiBit respond to Bitcoin URI clicks in a browser and I believe Bitcoin-QT V0.7 does as well.

On mobiles Android Bitcoin Wallet does. On the iPhone the blockchain.info app does.

> **Comments:**
> **username_6**: Bitcoin-Qt v0.7 for Windows does.  Not Mac or Linux yet.  
> **username_3**: It's important to note that although it isn't specified in the simple syntax, '?' after the first are changed to '&' as in regular URLs.  For example: `bitcoin:<myaddress>?amount=1&message=mymsg`  
> **username_4**: Not to nitpick, but the acronym "BIP" stands for *Bitcoin Improvement Proposal* instead of *Bitcoin Improvement Process*.  
> **username_5**: Apparently the number of decimals in the BTC amount matters. My wallet was rejecting the uri until I reduced the decimals to eight.  

---

### Answer by username_1 on 2020-05-16. Score: 2

I think you need something like this

```
<a rel="payment" href="bitcoin:bitcoin_address_is_here?amount=5.00?message=payment to site name"><h2>Pay in Bitcoin now</h2></a>

```


---

