Dmitry Nikolayev > UkrMoney-API-1.01 > Ukrmoney::API

Download:
UkrMoney-API-1.01.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

Ukrmoney::API - Perl extension for UkrMoney.com Payment System

SYNOPSIS ^

  use UkrMoney::API;
  my $um = new UkrMoney::API;
  
  #login in.. login fucntion returns your session_id, but this is not needed to remember it,
  #cause UkrMoney::API module remembers it for you, so all operations below go with this session_id param. 
  $um->login({login => 'your@email.com', password => 'yourpassword'});
  
  #making new transaction
  $um->trans({'payee_purse'     => '1',
              'amount'          => '200',
              'description'     => 'payment for product id#3274823',
              'benef_email'     => 'receiver_email',
              'mode'            => 'test'});
  
  #getting the last 10 transactions on purse #1 on you account:
  my $transactions = $um->trans_list({purse => '1', offset => -10, limit => 10});
  
  #checking the time of last transaction
  my $time = $transactions->[scalar(@{$transactions})-1]->{'transaction'}->{'time'};

DESCRIPTION ^

UkrMoney::API is needed to work with UkrMoney payment system from your scripts (like automated payments scripts, etc..)

Main methods

SEE ALSO ^

UkrMoney Online Payment System site: http://ukrmoney.com

AUTHOR ^

Dmitry Nikolayev <dmitry@cpan.org>, http://perl.dp.ua/resume.html

THANKS ^

Thanks to UkrMoney.com Support team for their help in creating of this module.

Also, thanks for DotHost Hosting Provider: http://dothost.ru for their Tech. support.

COPYRIGHT AND LICENSE ^

Copyright (C) 2006 by Dmitry Nikolayev

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: