NAME

Net::API::Stripe::Issuing::Card::AuthorizationsControl::SpendingLimit - A Stripe Card Spending Limit Object

SYNOPSIS

VERSION

0.1

DESCRIPTION

Limit the spending with rules based on time intervals and categories.

This is used in Net::API::Stripe::Issuing::Card::Holder

CONSTRUCTOR

new( %ARG )

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

verbose

Toggles verbose mode on/off

debug

Toggles debug mode on/off

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_1DNcRHCeyNCl6fY2Epuwa9n9",
  "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) 2018-2019 DEGUEST Pte. Ltd.

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

1 POD Error

The following errors were encountered while parsing the POD:

Around line 70:

You forgot a '=back' before '=head1'