Author

Topic: MtGox api v1/v2 (Read 2170 times)

hero member
Activity: 900
Merit: 1000
Crypto Geek
January 07, 2013, 12:31:37 AM
#3
Smpake, the forwarding service to improve MtGox deposits have decided to shut down just in case until clearer. No alternative implementation AFAIK

vip
Activity: 608
Merit: 501
-
December 29, 2012, 05:59:18 PM
#2
Hi,

Everything you need to know is there:

http://tools.ietf.org/html/rfc4226 (HOTP)
http://tools.ietf.org/html/rfc6238 (TOTP)

We use the standard defined by Google in term of OTP, which means that our OTP uses 30 secs TOTP on 6 digits (base10). Since Google uses that, a lot of documentation is available on Internet.
hero member
Activity: 714
Merit: 500
Psi laju, karavani prolaze.
December 29, 2012, 12:34:38 PM
#1
So, in the past few months I got a bunch of emails saying mtg v0 api is going out of biz with the end of 2012.

Quote
You are currently making use of a system which will be deprecated on Mon 31 Dec 2012 12:00:00 AM GMT:

Old bitcoin withdraw method for withdrawing bitcoins is deprecated. Please use https://mtgox.com/api/1/generic/bitcoin/send_simple or https://mtgox.com/api/2/money/bitcoin/send_simple instead

Please note that after this date, using this system won't be possible anymore and will instead lead to an error.

Thank you for your attention.

System Staff


Right. So we check mtgox and this is the official api site: https://en.bitcoin.it/wiki/MtGox/API/HTTP. No v2 manual there. Ok, we shall go with v1.

The instructions say withdrawal method has two required args. When I satisfy the conditions, I get a message OTP is required. So I implement OTP call as described in the wiki.

Code:
HOTP key

https://mtgox.com/api/1/generic/hotp_gen

used to generate a new HOTP key ( useful for developers )


It returns an array with 'serial', 'name', 'key' and 'key_base32'.  I can not google my way to how exactly these vars should be processed and used to make a successful withdrawal request.


Anyone got a clue I wonder, cause my crystal ball is broked.

Jump to: