Net::API::Stripe::Billing::Details - An interface to Stripe API
my $billing_details = $stripe->charge->billing_details({ address => $stripe->address({ line1 => '1-2-3 Kudan-Manami, Chiyoda-ku', line2 => 'Big Bldg, 12F', city => 'Tokyo', postal_code => '123-4567', country => 'jp', }), email => 'john.doe@example.com', name => 'John Doe', phone => '+81-90-1234-5678', });
v0.100.0
This is created by method billing_details Net::API::Stripe::Charge or by method billing_details in Net::API::Stripe::Payment::Method and capture the billing details
Creates a new Net::API::Stripe::Billing::Details object. It may also take an hash like arguments, that also are method of the same name.
Billing address.
This is a Net::API::Stripe::Address object.
Email address.
Full name.
Billing phone number (including extension).
{ "id": "pm_123456789", "object": "payment_method", "billing_details": { "address": { "city": "Anytown", "country": "US", "line1": "1234 Main street", "line2": null, "postal_code": "123456", "state": null }, "email": "jenny@example.com", "name": null, "phone": "+15555555555" }, "card": { "brand": "visa", "checks": { "address_line1_check": null, "address_postal_code_check": null, "cvc_check": null }, "country": "US", "exp_month": 8, "exp_year": 2020, "fingerprint": "xksmmnsnmhfjskhjh", "funding": "credit", "generated_from": null, "last4": "4242", "three_d_secure_usage": { "supported": true }, "wallet": null }, "created": 123456789, "customer": null, "livemode": false, "metadata": { "order_id": "123456789" }, "type": "card" }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api
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.