Net::API::Stripe::Issuing::Card::AuthorizationsControl - An interface to Stripe API
my $auth = $stripe->card_holder->authorization_controls({ allowed_categories => [], blocked_categories => [], spending_limits => [ { amount => 2000000, categories => '', interval => 'monthly', }, { amount => 200000, categories => '', interval => 'weekly', }, ], spending_limits_currency => 'jpy', });
v0.100.0
This is instantiated by method authorization_controls in module Net::API::Stripe::Issuing::Card::Holder
Creates a new Net::API::Stripe::Issuing::Card::AuthorizationsControl object.
Array of strings containing categories of authorizations permitted on this card.
Array of strings containing categories of authorizations to always decline on this card.
Limit the spending with rules based on time intervals and categories.
This is an array of Net::API::Stripe::Issuing::Card::AuthorizationsControl::SpendingLimit objects.
Currency for the amounts within spending_limits.
{ "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" }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/issuing/cardholders/object
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.
To install Net::API::Stripe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::API::Stripe
CPAN shell
perl -MCPAN -e shell install Net::API::Stripe
For more information on module installation, please visit the detailed CPAN module installation guide.