Finance::GDAX::API::PaymentMethod - List Payment Methods
use Finance::GDAX::API::PaymentMethod; $pay_methods = Finance::GDAX::API::PaymentMethod->new; # Array of Hashes of payment methods available $methods = $pay_methods->get;
Returns an array of payment methods available on the account.
get
The API documents the array of hashes as follows:
[ { "id": "bc6d7162-d984-5ffa-963c-a493b1c1370b", "type": "ach_bank_account", "name": "Bank of America - eBan... ********7134", "currency": "USD", "primary_buy": true, "primary_sell": true, "allow_buy": true, "allow_sell": true, "allow_deposit": true, "allow_withdraw": true, "limits": { "buy": [ { "period_in_days": 1, "total": { "amount": "10000.00", "currency": "USD" }, "remaining": { "amount": "10000.00", "currency": "USD" } } ], "instant_buy": [ { "period_in_days": 7, "total": { "amount": "0.00", "currency": "USD" }, "remaining": { "amount": "0.00", "currency": "USD" } } ], "sell": [ { "period_in_days": 1, "total": { "amount": "10000.00", "currency": "USD" }, "remaining": { "amount": "10000.00", "currency": "USD" } } ], "deposit": [ { "period_in_days": 1, "total": { "amount": "10000.00", "currency": "USD" }, "remaining": { "amount": "10000.00", "currency": "USD" } } ] } }, ]
Mark Rushing <mark@orbislumen.net>
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.
cpanm
cpanm Finance::GDAX::API
CPAN shell
perl -MCPAN -e shell install Finance::GDAX::API
For more information on module installation, please visit the detailed CPAN module installation guide.