NAME

Net::API::Stripe::Payment::Source::Types - Payment Source Types

SYNOPSIS

my $types = $stripe->payment->source->types({
    bank_account => 1000000,
    card => 1000,
    fpx => 0,
});

VERSION

v0.100.0

DESCRIPTION

This is called from Net::API::Stripe::Balance::ConnectReserved and Net::API::Stripe::Balance::Pending

CONSTRUCTOR

new( %ARG )

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

METHODS

bank_account integer

Amount for bank account.

card integer

Amount for card.

fpx integer

Amount for FPX.

API SAMPLE

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

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.