Net::API::Stripe::Mandate - A Stripe Mandate Object
0.1
A Mandate is a record of the permission a customer has given you to debit their payment method.
Creates a new Net::API::Stripe objects. It may also take an hash like arguments, that also are method of the same name.
Net::API::Stripe
Toggles verbose mode on/off
Toggles debug mode on/off
Unique identifier for the object.
String representing the object’s type. Objects of the same type share the same value.
Details about the customer’s acceptance of the mandate.
The time at which the customer accepted the Mandate.
If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
If this is a Mandate accepted online, this hash contains details about the online acceptance.
The type of customer acceptance information included with the Mandate. One of online or offline.
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
If this is a multi_use mandate, this hash contains details about the mandate.
ID of the payment method associated with this mandate.
Additional mandate information specific to the payment method type.
If this mandate is associated with a card payment method, this hash contains mandate information specific to the card payment method.
If this mandate is associated with a sepa_debit payment method, this hash contains mandate information specific to the sepa_debit payment method.
The type of the payment method associated with this mandate. An additional hash is included on payment_method_details with a name matching this value. It contains mandate information specific to the payment method.
If this is a single_use mandate, this hash contains details about the mandate.
On a single use mandate, the amount of the payment.
On a single use mandate, the currency of the payment.
The status of the Mandate, one of active, inactive, or pending. The Mandate can be used to initiate a payment only if status=active.
The type of the mandate, one of multi_use or single_use
{ "id": "mandate_123456789", "object": "mandate", "customer_acceptance": { "accepted_at": 123456789, "online": { "ip_address": "127.0.0.0", "user_agent": "device" }, "type": "online" }, "livemode": false, "multi_use": {}, "payment_method": "pm_123456789", "payment_method_details": { "sepa_debit": { "reference": "123456789", "url": "" }, "type": "sepa_debit" }, "status": "active", "type": "multi_use" }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api, https://stripe.com/docs/api/mandates/object
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:
You forgot a '=back' before '=head1'
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.