Net::API::Stripe::GeoLocation - A Stripe Geo Location Object
my $geo_loc = $stripe->fraud_review->ip_address_location({ city => 'Tokyo', country => 'jp', latitude => '35.6935496', longitude => '139.7461204', region => undef, });
v0.100.0
Information related to the location of the payment. Note that this information is an approximation and attempts to locate the nearest population center - it should not be used to determine a specific address.
This is used in Net::API::Stripe::Fraud::Review
Creates a new Net::API::Stripe::GeoLocation object. It may also take an hash like arguments, that also are method of the same name.
The city where the payment originated.
Two-letter ISO code representing the country where the payment originated.
The geographic latitude where the payment originated.
The geographic longitude where the payment originated.
The state/county/province/region where the payment originated.
{ "id": "prv_fake123456789", "object": "review", "billing_zip": null, "charge": "ch_fake123456789", "closed_reason": null, "created": 1571480456, "ip_address": null, "ip_address_location": null, "livemode": false, "open": true, "opened_reason": "rule", "reason": "rule", "session": null }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/radar/reviews/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.