NAME

Net::API::Stripe::Treasury::DebitReversal - The DebitReversal object

SYNOPSIS

VERSION

    v0.1.0

DESCRIPTION

You can reverse some ReceivedDebits depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal.

METHODS

id string

Unique identifier for the object.

object string

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

amount integer

Amount (in cents) transferred.

currency currency

Three-letter ISO currency code, in lowercase. Must be a supported currency.

financial_account string

The FinancialAccount to reverse funds from.

hosted_regulatory_receipt_url string

A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.

linked_flows hash

Other flows linked to a DebitReversal.

It has the following properties:

issuing_dispute string

Set if there is an Issuing dispute associated with the DebitReversal.

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.

network string

The rails used to reverse the funds.

received_debit string

The ReceivedDebit being reversed.

status string

Status of the DebitReversal

status_transitions object

Hash containing timestamps of when the object transitioned to a particular status.

This is a Net::API::Stripe::Billing::Subscription::Schedule object.

transaction expandable

The Transaction associated with this object.

When expanded this is an Net::API::Stripe::Treasury::Transaction object.

API SAMPLE

[ { "amount" : "1000", "currency" : "usd", "financial_account" : "fa_1Le9F32eZvKYlo2CjbQcDQUE", "hosted_regulatory_receipt_url" : "https://payments.stripe.com/regulatory-receipt/CBQaFwoVYWNjdF8xMDMyRDgyZVp2S1lsbzJDKN6u0JgGMgZ5wklFW6A6NpM6vaRPqAA3MfviuxTVdP3EJG4azU5gXKVEXCmp3Kb06tC0LoZCqWCdfl0iQhcDzdQfLekmyQ", "id" : "debrev_1Le9F42eZvKYlo2Cb7q6jmDW", "linked_flows" : null, "livemode" : 0, "metadata" : {}, "network" : "ach", "object" : "treasury.debit_reversal", "received_debit" : "rd_1Le9F42eZvKYlo2C0TIJJqNP", "status" : "processing", "status_transitions" : { "completed_at" : null }, "transaction" : "trxn_1Le9F32eZvKYlo2C2dtkse82" } ]

HISTORY

v0.1.0

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation

COPYRIGHT & LICENSE

Copyright (c) 2019-2022 DEGUEST Pte. Ltd.

You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.