Search documentation of tiger_stripe

# Stripe.Resources.Treasury.DebitReversal (tiger_stripe v0.1.1)

Copy Markdown View Source

TreasuryReceivedDebitsResourceDebitReversal

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.

## Summary

### Types

t()

### Functions

expandable_fields()
object_name()

## Types

# t()

    @type t() :: %Stripe.Resources.Treasury.DebitReversal{
      amount: integer(),
      created: integer(),
      currency: String.t(),
      financial_account: String.t(),
      hosted_regulatory_receipt_url: String.t(),
      id: String.t(),
      linked_flows: map(),
      livemode: boolean(),
      metadata: map(),
      network: String.t(),
      object: String.t(),
      received_debit: String.t(),
      status: String.t(),
      status_transitions: map(),
      transaction: String.t() | map()
    }

- `amount` - Amount (in cents) transferred.
- `created` - Time at which the object was created. Measured in seconds since the Unix epoch. Format: Unix timestamp.
- `currency` - Three-letter ISO currency code, in lowercase. Must be a supported currency. Format: ISO 4217 currency code.
- `financial_account` - The FinancialAccount to reverse funds from. Max length: 5000. Nullable.
- `hosted_regulatory_receipt_url` - A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. Max length: 5000. Nullable.
- `id` - Unique identifier for the object. Max length: 5000.
- `linked_flows` - Other flows linked to a DebitReversal. Nullable. Expandable.
- `livemode` - Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
- `metadata` - 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` - The rails used to reverse the funds. Possible values: `ach`, `card`.
- `object` - String representing the object's type. Objects of the same type share the same value. Possible values: `treasury.debit_reversal`.
- `received_debit` - The ReceivedDebit being reversed. Max length: 5000.
- `status` - Status of the DebitReversal Possible values: `failed`, `processing`, `succeeded`.
- `status_transitions` - Expandable.
- `transaction` - The Transaction associated with this object. Nullable. Expandable.

## Functions

# expandable_fields()

# object_name()