Net::API::Stripe::Fraud - A Stripe Early Fraud Warning Object
my $fraud = $stripe->fraud({ actionable => $stripe->true, # Could also be a Net::API::Stripe::Charge object if expanded charge => 'ch_fake124567890', fraud_type => 'unauthorized_use_of_card', livemode => $stripe->false, });
See documentation in Net::API::Stripe for example to make api calls to Stripe to create those objects.
v0.101.0
An early fraud warning indicates that the card issuer has notified us that a charge may be fraudulent.
Creates a new Net::API::Stripe::Fraud object. It may also take an hash like arguments, that also are method of the same name.
Unique identifier for the object.
String representing the object’s type. Objects of the same type share the same value.
An EFW is actionable if it has not received a dispute and has not been fully refunded. You may wish to proactively refund a charge that receives an EFW, in order to avoid receiving a dispute later.
ID of the charge this early fraud warning is for, optionally expanded.
When expanded, this is a Net::API::Stripe::Charge object.
Time at which the object was created. Measured in seconds since the Unix epoch.
The type of fraud labelled by the issuer. One of card_never_received, fraudulent_card_application, made_with_counterfeit_card, made_with_lost_card, made_with_stolen_card, misc, unauthorized_use_of_card.
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
ID of the Payment Intent this early fraud warning is for, optionally expanded.
When expanded this is an Net::API::Stripe::Payment::Intent object.
{ "id": "issfr_123456789", "object": "radar.early_fraud_warning", "actionable": true, "charge": "ch_1234", "created": 123456789, "fraud_type": "misc", "livemode": false }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/radar/early_fraud_warnings/object, https://stripe.com/docs/disputes#early-fraud-warnings-formerly-issuer-fraud-records
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.