coinbase / coinbase-python

DEPRECATED — Coinbase Python API
Apache License 2.0
528 stars 217 forks source link

Coinbase account.transferMoney returning "Not Found" (NodeJS lib) #94

Closed adil651 closed 5 years ago

adil651 commented 5 years ago

I'm trying to transfer BTC from an account to another account, But the function is returning "Not Found".

This is how I'm calling the function account.transferMoney({ 'to': admin_account, 'amount': parseFloat(deposit_amount), 'currency': "BTC" }

According to the documentation, the request should only include to and amount but the function was first returning currency parameter missing and after adding currency parameter it returns "Not Found"

This is how it is mentioned in the documentation https://developers.coinbase.com/api/v2#transfer-money-between-accounts account.transferMoney({ 'to': admin_account, 'amount': parseFloat(deposit_amount), }