bitvavo / php-bitvavo-api

PHP SDK IS DEPRECATED! PHP wrapper for the Bitvavo API
ISC License
15 stars 13 forks source link

Error 309 The signature is invalid #10

Open Coin29 opened 2 years ago

Coin29 commented 2 years ago

Hy,

I obtain Error 309 The signature is invalid when i test $response = $bitvavo->account();

after $bitvavo = new Bitvavo([ "APIKEY" => "", "APISECRET" => "<2a...>", "RESTURL" => "https://api.bitvavo.com/v2", "WSURL" => "wss://ws.bitvavo.com/v2/", "ACCESSWINDOW" => 10000, "DEBUGGING" => false ]);

Can you help me ?

Thank you

milke commented 2 years ago

I get the same error when trying either GET /account of GET /balance endpoints. I'm pretty sure the signature is calculated properly because I tried it with example presented on Bitvavo API Documentation page, section Signing REST requests; for the same example string to be signed, I get the same signature as in the example.

@Coin29, have you managed to resolve this issue?