The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::API::Stripe::Connect::Transfer::Reversals - A list of Transfer Reversal as Object

SYNOPSIS

    my $list = $stripe->reversals( 'list' ) || die( $stripe->error );
    while( my $rev = $list->next )
    {
        printf( <<EOT, $rev->amount->format_money( 0, '¥' ), $rev->currency, $rev->created->iso8601 );
    Amount: %s
    Currency: %s
    Created: %s
    EOT
    }

Would produce:

    Amount: ¥2,000
    Currency: jpy
    Created: 2020-04-06T06:00:00

VERSION

    0.1

DESCRIPTION

A list of reversals that have been applied to the transfer.

This module inherits from Net::API::Stripe::List and overrides only the data method.

CONSTRUCTOR

new( %ARG )

Creates a new Net::API::Stripe::Connect::Transfer::Reversals object.

has_more boolean

True if this list has another page of items after this one that can be fetched.

url string

The URL where this list can be accessed.

API SAMPLE

        {
          "object": "list",
          "url": "/v1/transfers/tr_fake123456789/reversals",
          "has_more": false,
          "data": [
                {
                  "id": "trr_fake123456789",
                  "object": "transfer_reversal",
                  "amount": 1100,
                  "balance_transaction": "txn_fake123456789",
                  "created": 1571480456,
                  "currency": "jpy",
                  "destination_payment_refund": null,
                  "metadata": {},
                  "source_refund": null,
                  "transfer": "tr_fake123456789"
                },
                {...},
                {...}
          ]
        }

HISTORY

v0.1

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation:

https://stripe.com/docs/api/transfer_reversals/list

COPYRIGHT & LICENSE

Copyright (c) 2019-2020 DEGUEST Pte. Ltd.

You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.