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::Balance::ConnectReserved - A Stripe Reserved Fund Object

SYNOPSIS

    my $reserved = $stripe->balance->connect_reserved({
        amount => '100000,
        currency => 'jpy',
        source_types => 
        {
            bank_account => 1000000,
            card => 0,
        },
    });

VERSION

    v0.100.0

DESCRIPTION

This is called from Net::API::Stripe::Balance by connect_reserved method.

CONSTRUCTOR

new( %ARG )

Creates a new Net::API::Stripe::Balance::ConnectReserved object. It may also take an hash like arguments, that also are method of the same name.

METHODS

amount integer

Balance amount.

currency currency

Three-letter ISO currency code, in lowercase. Must be a supported currency.

source_types hash

Breakdown of balance by source types. This is a virtual Net::API::Stripe::Payment::Source::Types module that contains the following properties:

bank_account integer

Amount for bank account.

card integer

Amount for card.

API SAMPLE

    {
      "object": "balance",
      "available": [
        {
          "amount": 7712,
          "currency": "jpy",
          "source_types": {
            "card": 7712
          }
        }
      ],
      "connect_reserved": [
        {
          "amount": 0,
          "currency": "jpy"
        }
      ],
      "livemode": false,
      "pending": [
        {
          "amount": 0,
          "currency": "jpy",
          "source_types": {
            "card": 0
          }
        }
      ]
    }

HISTORY

v0.1

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation:

https://stripe.com/docs/api

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.