The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::API::Stripe::Fraud - A Stripe Early Fraud Warning Object

SYNOPSIS

    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.

VERSION

    v0.101.0

DESCRIPTION

An early fraud warning indicates that the card issuer has notified us that a charge may be fraudulent.

CONSTRUCTOR

new( %ARG )

Creates a new Net::API::Stripe::Fraud object. It may also take an hash like arguments, that also are method of the same name.

METHODS

id string

Unique identifier for the object.

object string, value is "radar.early_fraud_warning"

String representing the object’s type. Objects of the same type share the same value.

actionable boolean

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.

charge string (expandable)

ID of the charge this early fraud warning is for, optionally expanded.

When expanded, this is a Net::API::Stripe::Charge object.

created timestamp

Time at which the object was created. Measured in seconds since the Unix epoch.

fraud_type string

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.

livemode boolean

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

payment_intent expandable

ID of the Payment Intent this early fraud warning is for, optionally expanded.

When expanded this is an Net::API::Stripe::Payment::Intent object.

API SAMPLE

    {
      "id": "issfr_123456789",
      "object": "radar.early_fraud_warning",
      "actionable": true,
      "charge": "ch_1234",
      "created": 123456789,
      "fraud_type": "misc",
      "livemode": false
    }

HISTORY

v0.1

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

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 & LICENSE

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.