Closed catalinatCore closed 2 years ago
Hi, The --header should also contain your 3Commas Developer API key and also the SHA256_HMAC signature generated as shown on the readme.md page: https://github.com/3commas-io/3commas-official-api-docs#signed-endpoint-examples-for-post-publicapiver1userschange_mode
cURL:
curl --location --request POST 'https://api.3commas.io/public/api/v2/smart_trades/15423052/add_funds' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'order_type=market' \ --data-urlencode 'units[value]=0.0252' \ --data-urlencode 'price[value]=20486'
Can anyone help to take a look?