Finance::GDAX::API::Withdrawl - Withdraw funds to a Payment Method or Coinbase
$withdraw = Finance::GDAX::API::Withdraw->new(
currency => 'USD',
amount => '250.00');
$response = $withdraw->to_payment;
# Or, to a Coinbase account
$response = $withdraw->to_coinbase;
# Or, to a Crypto address
Used to transfer funds out of your GDAX account, either to a predefined Payment Method or your Coinbase account.
Both methods require the same two attributes: "amount" and "currency" to be set, along with their corresponding payment or coinbase account id's.
ID of the payment method.
ID of the coinbase account.
Withdraw funds to a crypto address.
The amount to be withdrawn.
The currency of the amount -- for example "USD".
All attributes must be set before calling this method. The return value is a hash that will describe the result of the payment.
From the current GDAX API documentation, this is how that returned hash is keyed:
All attributes must be set before calling this method. The return value is a hash that will describe the result of the funds move.
Mark Rushing <firstname.lastname@example.org>
This software is copyright (c) 2017 by Home Grown Systems, SPC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Finance::GDAX::API, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.