Net::Iugu::MarketPlace - Net::Iugu::MarketPlace - Methods to manage marketplaces
version 0.000001
Implements the API calls to manage marketplaces. It is used by the main module Net::Iugu and shouldn't be instantiated directly.
use Net::Iugu::MarketPlaces; my $mp = Net::Iugu::MarketPlaces->new( token => 'my_api_token' ); my $res; $res = $mp->create_account( $data ); $res = $mp->request_account_verification( $user_token, $account_id, $data ); $res = $mp->account_info( $account_id ); $res = $mp->configurate_account( $user_token, $data ); $res = $mp->request_withdraw( $account_id, $amount );
For a detailed reference of params and return values check the Official Documentation.
Creates a sub account.
Requests a verification of the account $account_id. Note thath you must specify the $user_token of this account.
$account_id
$user_token
Return info about this account.
(Re-)Configurates the account related to $user_token.
Requests a withdraw of an amount $amount from the account $account_id.
$amount
Blabos de Blebe <blabos@cpan.org>
This software is copyright (c) 2015 by Blabos de Blebe.
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 Net::Iugu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Iugu
CPAN shell
perl -MCPAN -e shell install Net::Iugu
For more information on module installation, please visit the detailed CPAN module installation guide.