<p>The problem I was having had to do with formatting. In the <a href="https://en.bitcoin.it/wiki/MtGox/API/HTTP/v1#Withdraw_bitcoins" rel="nofollow">api documentation</a> there is an <code>amount_int</code> param which needs to be passed with the <code>http</code> request. I had forgotten that mtgox requires anything with <code>_int</code> postfixing to be in the form <code>amount * 10 ^ 8</code></p>

<p>so for example if you were trying to send 0.01 bitcoins for the <code>amount_int</code> field you would put</p>

<pre><code>0.01 * 10 ^ 8 = 1000000
</code></pre>

CC BY-SA 3.0
2013-07-04T17:01:00.753Z
2013-07-04T17:55:39.680Z
2013-07-04T17:55:39.680Z
Loourr
<p>I have been trying to transfer bitcoins via mtgox's withdraw bitcoin api call with this http address</p>

<p><a href="https://data.mtgox.com/api/1/generic/bitcoin/send_simple" rel="nofollow">https://data.mtgox.com/api/1/generic/bitcoin/send_simple</a></p>

<p>and when I log the response to console I get </p>

<pre><code>{ result: 'success',
  return: { trx: 'a748ee68583a1cedbdde694a5716909cad8feea1545e946145f48f95ced15037' } }
</code></pre>

<p>yet the number of bitcoins in my account remains unchanged. </p>

<p>What could possibly be causing this? </p>

<p>and I'm positive my api key has the correct permissions (unless it's merchant)</p>

<mtgox><api><withdrawal>
Trouble with mtgox's withdraw bitcoins api call
Loourr
# Trouble with mtgox's withdraw bitcoins api call

(Asked by: username_0 on 2013-07-04)

I have been trying to transfer bitcoins via mtgox's withdraw bitcoin api call with this http address

<https://data.mtgox.com/api/1/generic/bitcoin/send_simple>

and when I log the response to console I get

```
{ result: 'success',
  return: { trx: 'a748ee68583a1cedbdde694a5716909cad8feea1545e946145f48f95ced15037' } }

```

yet the number of bitcoins in my account remains unchanged.

What could possibly be causing this?

and I'm positive my api key has the correct permissions (unless it's merchant)

**Tags:** mtgox, api, withdrawal


---

## 1 answers

### Answer by username_0 on 2013-07-04. Score: 1

The problem I was having had to do with formatting. In the [api documentation](https://en.bitcoin.it/wiki/MtGox/API/HTTP/v1#Withdraw_bitcoins) there is an `amount_int` param which needs to be passed with the `http` request. I had forgotten that mtgox requires anything with `_int` postfixing to be in the form `amount * 10 ^ 8`

so for example if you were trying to send 0.01 bitcoins for the `amount_int` field you would put

```
0.01 * 10 ^ 8 = 1000000

```


---

