Net::API::Stripe::Token - A Stripe Token Object
0.1
Tokenisation is the process Stripe uses to collect sensitive card or bank account details, or personally identifiable information (PII), directly from your customers in a secure manner. A token representing this information is returned to your server to use. You should use Stripe's recommended payments integrations (https://stripe.com/docs/payments) to perform this process client-side. This ensures that no sensitive card data touches your server, and allows your integration to operate in a PCI-compliant way.
If you cannot use client-side tokenization, you can also create tokens using the API with either your publishable or secret API key. Keep in mind that if your integration uses this method, you are responsible for any PCI compliance that may be required, and you must keep your secret API key safe. Unlike with client-side tokenization, your customer's information is not sent directly to Stripe, so Stripe cannot determine how it is handled or stored.
Tokens cannot be stored or used more than once. To store card or bank account information for later use, you can create Customer objects (Net::API::Stripe::Customer / https://stripe.com/docs/api#customers) or Custom accounts (Net::API::Stripe::Connect::ExternalAccount::Bank and Net::API::Stripe::Connect::ExternalAccount::Card / https://stripe.com/docs/api#external_accounts). Note that Radar (https://stripe.com/docs/radar), Stripe's integrated solution for automatic fraud protection, supports only integrations that use client-side tokenization.
Net::API::Stripe::Customer
Net::API::Stripe::Connect::ExternalAccount::Bank
Net::API::Stripe::Connect::ExternalAccount::Card
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.
Hash describing the bank account.
This is a Net::API::Stripe::Payment::BankAccount object.
Net::API::Stripe::Payment::BankAccount
Hash describing the card used to make the charge.
This is a Net::API::Stripe::Payment::Card object.
Net::API::Stripe::Payment::Card
IP address of the client that generated the token.
Time at which the object was created. Measured in seconds since the Unix epoch.
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
Type of the token: account, bank_account, card, or pii.
Whether this token has already been used (tokens can be used only once).
{ "id": "tok_1FUXrFCeyNCl6fY21WAHXQEd", "object": "token", "card": { "id": "card_1FUXrFCeyNCl6fY29r2cl9gk", "object": "card", "address_city": null, "address_country": null, "address_line1": null, "address_line1_check": null, "address_line2": null, "address_state": null, "address_zip": null, "address_zip_check": null, "brand": "Visa", "country": "US", "cvc_check": null, "dynamic_last4": null, "exp_month": 8, "exp_year": 2020, "fingerprint": "x18XyLUPM6hub5xz", "funding": "credit", "last4": "4242", "metadata": {}, "name": null, "tokenization_method": null }, "client_ip": null, "created": 1571314413, "livemode": false, "type": "card", "used": false }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/tokens, https://stripe.com/docs/payments/cards/collecting/web#create-token
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.