Mt. Gox API - getting confirmation of a trade order I want to place a trade order at market price from an existing wallet in some auxiliary currency. After a successfull trade, I need to do some other work (fullfillment).

However, I'm having trouble figuring out whether my order went successfull :(

For instance, when the wallet in the auxiliary currency is empty or too low (and the order should fail), I'm getting the exact same response that I'm getting upon a successfull trade:

$response = {
          'data' =&gt; 'XXXXXX-XXXX-XXXX-XXXX-XXXXXXX', ## not actual order id/oid
          'result' =&gt; 'success'
        };


What's the way I'm supposed to check for a successfull trade?
The success message is telling you that your request to place an order was successful, not that the order has been fulfilled.  For that, you have to poll money/order/result.

Also, I use the order submission API in V2 and it does respond with an insufficient funds error.  If you're using the older V0/V1 APIs, you may want to upgrade.