NAME

Net::API::Stripe::Issuing::Dispute - A Stripe Issued Card Transaction Dispute Object

SYNOPSIS

VERSION

0.1

DESCRIPTION

As a card issuer (https://stripe.com/docs/issuing), you can dispute transactions (https://stripe.com/docs/issuing/disputes) that you do not recognize, suspect to be fraudulent, or have some other issue.

This module looks similar to the Net::API::Stripe::Dispute and has overlapping fields, but the event method points to different modules, so it is by design that there are 2 <*::Dispute::Evidence> modules.

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 "issuing.dispute"

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

amount integer

Disputed amount. Usually the amount of the disputed_transaction, but can differ (usually because of currency fluctuation or because only part of the order is disputed).

created timestamp

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

currency currency

The currency the disputed_transaction was made in.

disputed_transaction string (expandable)

The transaction being disputed.

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

evidence hash

Evidence related to the dispute. This hash will contain exactly one non-null value, containing an evidence object that matches its reason

This is a Net::API::Stripe::Issuing::Dispute::Evidence 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.

metadata hash

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

reason string

Reason for this dispute. One of other or fraudulent.

status string

Current status of dispute. One of lost, under_review, unsubmitted, or won.

API SAMPLE

{
  "id": "idp_1FVF3MCeyNCl6fY2U60c43Sz",
  "object": "issuing.dispute",
  "amount": 100,
  "created": 1571480456,
  "currency": "usd",
  "disputed_transaction": "ipi_1FVF3MCeyNCl6fY2uC8uNvgo",
  "evidence": {
	"fraudulent": {
	  "dispute_explanation": "Fraud; card reported lost on 10/19/2019",
	  "uncategorized_file": null
	},
	"other": null
  },
  "livemode": false,
  "metadata": {},
  "reason": "fraudulent",
  "status": "under_review"
}

HISTORY

v0.1

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation:

https://stripe.com/docs/api/issuing/disputes, https://stripe.com/docs/issuing/disputes

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 87:

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