<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.bitcoin.it/w/index.php?action=history&amp;feed=atom&amp;title=WalletBit%2FAPI%2FSent</id>
	<title>WalletBit/API/Sent - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://en.bitcoin.it/w/index.php?action=history&amp;feed=atom&amp;title=WalletBit%2FAPI%2FSent"/>
	<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=WalletBit/API/Sent&amp;action=history"/>
	<updated>2026-05-13T15:41:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=WalletBit/API/Sent&amp;diff=27237&amp;oldid=prev</id>
		<title>WalletBit: Created page with &quot;===Sent to Email or Bitcoin address===  &lt;source lang=&quot;php&quot;&gt; $fields = array(   &#039;merchant&#039; =&gt; &#039;owner@example.com&#039;,   &#039;customer_email&#039; =&gt; &#039;johnsmith@example.com&#039;,   &#039;address&#039; =&gt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=WalletBit/API/Sent&amp;diff=27237&amp;oldid=prev"/>
		<updated>2012-05-27T15:08:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===Sent to Email or Bitcoin address===  &amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt; $fields = array(   &amp;#039;merchant&amp;#039; =&amp;gt; &amp;#039;owner@example.com&amp;#039;,   &amp;#039;customer_email&amp;#039; =&amp;gt; &amp;#039;johnsmith@example.com&amp;#039;,   &amp;#039;address&amp;#039; =&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Sent to Email or Bitcoin address===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$fields = array(&lt;br /&gt;
  &amp;#039;merchant&amp;#039; =&amp;gt; &amp;#039;owner@example.com&amp;#039;,&lt;br /&gt;
  &amp;#039;customer_email&amp;#039; =&amp;gt; &amp;#039;johnsmith@example.com&amp;#039;,&lt;br /&gt;
  &amp;#039;address&amp;#039; =&amp;gt; &amp;#039;&amp;#039;,&lt;br /&gt;
  &amp;#039;amount&amp;#039; =&amp;gt; 0.01000000,&lt;br /&gt;
  &amp;#039;details&amp;#039; =&amp;gt; &amp;#039;You got Bitcoins!&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$fields[&amp;#039;encrypted&amp;#039;] = strtoupper(hash(&amp;#039;sha256&amp;#039;, $fields[&amp;#039;merchant&amp;#039;] . &amp;#039;:&amp;#039; . $fields[&amp;#039;customer_email&amp;#039;] . &amp;#039;:&amp;#039; . $fields[&amp;#039;amount&amp;#039;] . &amp;#039;:&amp;#039; . &amp;#039;API Key&amp;#039;));&lt;br /&gt;
&lt;br /&gt;
$ch = curl_init();&lt;br /&gt;
curl_setopt($ch, CURLOPT_URL, &amp;#039;https://walletbit.com/api&amp;#039;);&lt;br /&gt;
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE);&lt;br /&gt;
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, TRUE);&lt;br /&gt;
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);&lt;br /&gt;
curl_setopt($ch, CURLOPT_POST, count($fields));&lt;br /&gt;
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($fields));&lt;br /&gt;
$response = curl_exec($ch);&lt;br /&gt;
curl_close($ch);&lt;br /&gt;
&lt;br /&gt;
if ($response == &amp;#039;1&amp;#039;)&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;#039;customer_email&amp;#039; is not on WalletBit, it will try to send to the defined bitcoin address.&lt;/div&gt;</summary>
		<author><name>WalletBit</name></author>
	</entry>
</feed>