Coinbase International Exchange API
cURL
curl --request POST \ --url https://api.international.coinbase.com/api/v1/portfolios/transfer \ --header 'CB-ACCESS-KEY: <api-key>' \ --header 'CB-ACCESS-PASSPHRASE: <api-key>' \ --header 'CB-ACCESS-SIGN: <api-key>' \ --header 'CB-ACCESS-TIMESTAMP: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "from": "<string>", "to": "<string>", "asset": "<string>", "amount": "<string>" }'
{ "success": true }
Transfer assets from one portfolio to another.
transfer
PortfoliosService portfoliosService = IntxServiceFactory.createPortfoliosService(client); TransferFundsRequest request = new TransferFundsRequest.Builder() .from("portfolio_id_1") .to("portfolio_id_2") .asset("BTC") .amount("1") .build(); TransferFundsResponse response = portfoliosService.transferFunds(request);
Was this page helpful?