WebService::Snapcard - Snapcard (http://www.snapcard.io) API bindings
version 0.0001
use WebService::Snapcard; my $snap = WebService::Snapcard->new( api_key => 'API_KEY', api_secret => 'API_SECRET', logger => Log::Tiny->new('/tmp/snap.log'), # optional ); my $balance = $snap->get_merchant_balance()->{balances}{usd};
get_merchant_balance()
Get merchant account balance.
get_invoices()
Get a list of all invoices on account.
Naveed Massjouni <naveed@vt.edu>
This software is copyright (c) 2015 by Naveed Massjouni.
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 WebService::Snapcard, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Snapcard
CPAN shell
perl -MCPAN -e shell install WebService::Snapcard
For more information on module installation, please visit the detailed CPAN module installation guide.