NAME
Net::API::Stripe::Issuing::Card::AuthorizationsControl::SpendingLimit - A Stripe Card Spending Limit Object
SYNOPSIS
my $limit = $stripe->card_holder->authorization_controls->spending_limits([
{
amount => 2000000,
categories => '',
interval => 'monthly',
},
{
amount => 200000,
categories => '',
interval => 'weekly',
},
]);
VERSION
v0.100.0
DESCRIPTION
Limit the spending with rules based on time intervals and categories.
This is instantiated by method spending_limits in module Net::API::Stripe::Issuing::Card::Holder
CONSTRUCTOR
new( %ARG )
Creates a new Net::API::Stripe::Issuing::Card::AuthorizationsControl::SpendingLimit object. It may also take an hash like arguments, that also are method of the same name.
METHODS
amount positive integer
Maximum amount allowed to spend per time interval.
categories array
Array of strings containing categories on which to apply the spending limit. Leave this blank to limit all charges.
interval string
The time interval with which to apply this spending limit towards. Allowed values are per_authorization, daily, weekly, monthly, yearly, or all_time.
API SAMPLE
{
"id": "ich_fake123456789",
"object": "issuing.cardholder",
"authorization_controls": {
"allowed_categories": [],
"blocked_categories": [],
"spending_limits": [],
"spending_limits_currency": null
},
"billing": {
"address": {
"city": "Beverly Hills",
"country": "US",
"line1": "123 Fake St",
"line2": "Apt 3",
"postal_code": "90210",
"state": "CA"
},
"name": "Jenny Rosen"
},
"company": null,
"created": 1540111055,
"email": "jenny@example.com",
"individual": null,
"is_default": false,
"livemode": false,
"metadata": {},
"name": "Jenny Rosen",
"phone_number": "+18008675309",
"requirements": {
"disabled_reason": null,
"past_due": []
},
"status": "active",
"type": "individual"
}
HISTORY
v0.1
Initial version
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Stripe API documentation:
https://stripe.com/docs/api/issuing/cardholders/object
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.