Business::GoCardless::Client
This is a class for the lower level requests to the gocardless API. generally there is nothing you should be doing with this.
Your gocardless API token, this attribute is required.
The gocardless API URL, defaults to $ENV{GOCARDLESS_URL} or https://gocardless.com.
The gocardless API path, defaults to /api/v1.
Your gocardless app identifier, defaults to $ENV{GOCARDLESS_APP_ID} or will exit if not set.
Your gocardless app secret, defaults to $ENV{GOCARDLESS_APP_SECRET} or will exit if not set.
Your gocardless webhook secret, defaults to $ENV{GOCARDLESS_WEBHOOK_SECRET} or will exit if not set.
Your gocardless merchant identifier, defaults to $ENV{GOCARDLESS_MERCHANT_ID} or will exit if not set.
The user agent string used in requests to the gocardless API, defaults to business-gocardless/perl/v . $version_of_this_library . - . $api_version
api_get api_post api_put
Make a request to the gocardless API:
my $data = $Client->api_get( '/merchants/123ABCD/bills',\%params );
In list context returns the links and pagination headers:
my ( $data,$links,$info ) = $Client->api_get( ... );
Lee Johnson - leejo@cpan.org
leejo@cpan.org
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. If you would like to contribute documentation, features, bug fixes, or anything else then please raise an issue / pull request:
https://github.com/Humanstate/business-gocardless
To install Business::GoCardless, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::GoCardless
CPAN shell
perl -MCPAN -e shell install Business::GoCardless
For more information on module installation, please visit the detailed CPAN module installation guide.