List all DebitReversals 

Returns a list of DebitReversals.

Parameters

  • financial_accountstring

    Returns objects associated with this FinancialAccount.

  • received_debitstring

    Only return DebitReversals for the ReceivedDebit ID.

  • resolutionenum

    Only return DebitReversals for a given resolution.

    Possible enum values
    lost

    DebitReversal was lost, and no Transactions will be created.

    won

    DebitReversal was won, and a crediting Transaction will be created.

  • statusenum

    Only return DebitReversals for a given status.

    Possible enum values
    canceled

    The DebitReversal has been canceled before it has been sent to the network and no funds have been returned to the account. (Currently not supported).

    completed

    The network has provided a resolution for the DebitReversal. If won, a crediting Transaction is created.

    processing

    The DebitReversal starting state.

More parameters

  • ending_beforestring

  • limitinteger

  • starting_afterstring

Returns

A dictionary with a data property that contains an array of up to limit DebitReversals, starting after DebitReversal starting_after. Each entry in the array is a separate DebitReversal object. If no more DebitReversals are available, the resulting array will be empty.

GET /v1/treasury/debit_reversals
curl -G https://api.stripe.com/v1/treasury/debit_reversals \
-u "sk_test_BQokikJ...2HlWgH4olfQ2sk_test_BQokikJOvBiI2HlWgH4olfQ2:" \
-d financial_account=fa_1MtkMLLkdIwHu7ixrkGP4bqB \
-d limit=3
Response
{
"object": "list",
"url": "/v1/treasury/debit_reversals",
"has_more": false,
"data": [
{
"id": "debrev_1MtkMLLkdIwHu7ixIcVctOKK",
"object": "treasury.debit_reversal",
"amount": 1000,
"created": 1680755021,
"currency": "usd",
"financial_account": "fa_1MtkMLLkdIwHu7ixrkGP4bqB",
"hosted_regulatory_receipt_url": "https://payments.stripe.com/regulatory-receipt/CBQaFwoVYWNjdF8xTTJKVGtMa2RJd0h1N2l4KM6SuaEGMgaqNYp8YbE6NpNWYhI1PSbr_jlZwdPHUJHYBRG6-5T1Bmpq4GkpUhVvzLMDWZWkMVIveXHgiVwLUgpMM4Jx8w",
"linked_flows": null,
"livemode": false,
"metadata": {},
"network": "ach",
"received_debit": "rd_1MtkMLLkdIwHu7ixoiUFN4qd",
"status": "processing",
"status_transitions": {
"completed_at": null
},
"transaction": "trxn_1MtkMLLkdIwHu7ix2BG3LwWW"
}
]
}

Feature 

A feature represents a monetizable ability or functionality in your system. Features can be assigned to products, and when those products are purchased, Stripe will create an entitlement to the feature for the purchasing customer.

Product Feature 

A product_feature represents an attachment between a feature and a product. When a product is purchased that has a feature attached, Stripe will create an entitlement to the feature for the purchasing customer.

Active Entitlement 

An active entitlement describes access to a feature for a customer.

Scheduled Queries 

If you have scheduled a Sigma query, you’ll receive a sigma.scheduled_query_run.created webhook each time the query runs. The webhook contains a ScheduledQueryRun object, which you can use to retrieve the query results.