BTCMarkets / API

API
120 stars 30 forks source link

Updating previous PHP sample to V3 - not succeeding in adding a data string to message #198

Open darrylsebbens opened 3 years ago

darrylsebbens commented 3 years ago

Good morning.

I have taken the PHP sample from the previous version and modified it for V3 as there is no V3 PHP sample. Account balances and the order list can be retrieved successfully. Both are GETs with no data specified.

Attempting to add a data string to the message does not work. In the code below, this was to change the orders request to list only orders for ETH-AUD, i.e., marketId: ETH-AUD

Below is the code I have. Any assistance in identifying the problem would be greatly appreciated. Thank you.

[edited to remove pasted code and attach txt file]

sample02.php.txt