NAME
Net::API::Stripe::Cash::Balance - Stripe API
SYNOPSIS
use Net::API::Stripe::Cash::Balance;
my $this = Net::API::Stripe::Cash::Balance->new(
object => 'cash_balance',
available =>
{
jpy => 10000,
},
customer => 'cu_abcdefgh1234567890',
livemode => 0,
settings =>
{
reconciliation_mode => 'automatic'
) || die( Net::API::Stripe::Cash::Balance->error, "\n" );
VERSION
v0.1.0
DESCRIPTION
This class represent a Stripe customer cash balance.
METHODS
object
String, value is "cash_balance"
String representing the object’s type. Objects of the same type share the same value.
available
A hash of all cash balances available to this customer. You cannot delete a customer with any cash balances, even if the balance is 0.
customer
String
The ID of the customer whose cash balance this object represents.
livemode
Boolean
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
settings
Hash
The customer’s default cash balance settings.
reconciliation_mode
string
The configuration for how funds that land in the customer cash balance are reconciled.
API SAMPLE
{
"object": "cash_balance",
"available": {
"jpy": 10000
},
"customer": "cu_1A3RPuCeyNCl6fY2YeKa3wSH",
"livemode": false,
"settings": {
"reconciliation_mode": "automatic"
}
}
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Stripe API documentation:
https://stripe.com/docs/api/cash_balance/object
COPYRIGHT & LICENSE
Copyright(c) 2022 DEGUEST Pte. Ltd.
All rights reserved This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.