NAME

Net::API::Stripe::Fraud::Review - A Stripe Fraud Review Object

SYNOPSIS

VERSION

0.1

DESCRIPTION

Reviews can be used to supplement automated fraud detection with human expertise.

CONSTRUCTOR

new( %ARG )

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

verbose

Toggles verbose mode on/off

debug

Toggles debug mode on/off

METHODS

id string

Unique identifier for the object.

object string, value is "review"

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

billing_zip string

The ZIP or postal code of the card used, if applicable.

charge string (expandable)

The charge associated with this review.

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

closed_reason string

The reason the review was closed, or null if it has not yet been closed. One of approved, refunded, refunded_as_fraud, or disputed.

created timestamp

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

ip_address string

The IP address where the payment originated.

ip_address_location hash

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 a Net::API::Stripe::GeoLocation object.

livemode boolean

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

open boolean

If true, the review needs action.

opened_reason string

The reason the review was opened. One of rule or manual.

payment_intent string (expandable)

The PaymentIntent ID associated with this review, if one exists.

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

reason string

The reason the review is currently open or closed. One of rule, manual, approved, refunded, refunded_as_fraud, or disputed.

session hash

Information related to the browsing session of the user who initiated the payment.

This is a Net::API::Stripe::Session object.

API SAMPLE

{
  "id": "prv_1FVF3MCeyNCl6fY27Q3RLQ4n",
  "object": "review",
  "billing_zip": null,
  "charge": "ch_1AaRjGCeyNCl6fY2v83S8nXJ",
  "closed_reason": null,
  "created": 1571480456,
  "ip_address": null,
  "ip_address_location": null,
  "livemode": false,
  "open": true,
  "opened_reason": "rule",
  "reason": "rule",
  "session": null
}

HISTORY

v0.1

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation:

https://stripe.com/docs/api/radar/reviews, https://stripe.com/radar

COPYRIGHT & LICENSE

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:

Around line 91:

You forgot a '=back' before '=head1'