I am trying to send bitcoin to another coinbase address. I am using the following code:
url = "https://coinbase.com/api/v1/transactions/send_money?access_token=XXX"
params = {
"transaction": {
"to": "1G8f9pRvgprVMUymuQugZrhYSqBNXuwzNt",
"amount": "0.011",
"notes": "Testing transaction"
}
}
r = requests.post(url, data=json.dumps(params)
But I get this result with the error:
{
"success":false,
"errors":["You must enter a positive amount","This transaction amount is below the current minimum amount to be accepted by the bitcoin network. (0.00005430 BTC)"],
"transaction":{"id":"XXX",
"created_at":null,
"hsh":null,
"notes":null,
"amount":{"amount":"0.00000000","currency":"BTC"},
"request":false,
"status":"pending",
"recipient_address":""
}
}
How to solve this?