coinbase/coinbase-python

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

adil651 opened this issue · 0 comments

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), }