Guillaume Aubert


Business::CyberSource::Report::PaymentEvents - Interface to CyberSource's Payment Events report.


Version 1.2.0


This module is an interface to the Payment Events report from CyberSource.

        use Business::CyberSource::Report;

        # Generate a report factory.
        my $report_factory = Business::CyberSource::Report->new(
                merchant_id => $merchant_id,
                username    => $username,
                password    => $password,

        # Build a Business::CyberSource::Report::PaymentEvents object.
        my $payment_events_report = $report_factory->build( 'PaymentEvents' );

        # Retrieve the Payment Events report for a given date.
                format => $format,
                date   => $date,



Build and send the request to CyberSource.

        # Retrieve the Payment Events report for a given date.
                format => $format,
                date   => $date,


  • format (mandatory)

    The desired format of the report, 'csv' or 'xml'.

  • date (mandatory)

    The date of the transactions to include in the report, using the format YYYY/MM/DD.

  • user_agent (optional)

    By default, LWP::UserAgent. This is useful for tests, see the documentation for Test::LWP::UserAgent in particular.


Please report any bugs or feature requests through the web interface at I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.


You can find documentation for this module with the perldoc command.

        perldoc Business::CyberSource::Report::PaymentEvents

You can also look for information at:


Guillaume Aubert, <aubertg at>.


I originally developed this project for ThinkGeek ( Thanks for allowing me to open-source it!


Copyright 2011-2017 Guillaume Aubert.

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

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file for more details.