I'm trying to access balance of Bitstamp account with API.
secret = "secret"
key = "key"
nonce = (1000*Time.now.to_f).to_i.to_s
client_id = "123123"
message = nonce + client_id + key
signature = HMAC::SHA256.hexdigest(secret, message).upcase
puts open("https://www.bitstamp.net/api/balance/?nonce=#{nonce}&key=#{key}&signature=#{signature}").read
I see that it generates all the attributes that are required
https://www.bitstamp.net/api/balance/?nonce=1392137355403&key=key&signature=955A3FFC6FEBE69385B9503307873DBCD21E9B7B8EDE67817FFF70961189CE50
But still i get this error.
{"error": "Missing key, signature and nonce parameters"}