| 1 |
# -*- coding: utf-8 -*- |
| 2 |
# File generated from our OpenAPI spec |
| 3 |
from stripe._request_options import RequestOptions |
| 4 |
from typing import List |
| 5 |
from typing_extensions import NotRequired, TypedDict |
| 6 |
|
| 7 |
|
| 8 |
class BalanceTransactionListParams(RequestOptions): |
| 9 |
created: NotRequired["BalanceTransactionListParamsCreated|int"] |
| 10 |
""" |
| 11 |
Only return transactions that were created during the given date interval. |
| 12 |
""" |
| 13 |
currency: NotRequired[str] |
| 14 |
""" |
| 15 |
Only return transactions in a certain currency. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). |
| 16 |
""" |
| 17 |
ending_before: NotRequired[str] |
| 18 |
""" |
| 19 |
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. |
| 20 |
""" |
| 21 |
expand: NotRequired[List[str]] |
| 22 |
""" |
| 23 |
Specifies which fields in the response should be expanded. |
| 24 |
""" |
| 25 |
limit: NotRequired[int] |
| 26 |
""" |
| 27 |
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
| 28 |
""" |
| 29 |
payout: NotRequired[str] |
| 30 |
""" |
| 31 |
For automatic Stripe payouts only, only returns transactions that were paid out on the specified payout ID. |
| 32 |
""" |
| 33 |
source: NotRequired[str] |
| 34 |
""" |
| 35 |
Only returns transactions associated with the given object. |
| 36 |
""" |
| 37 |
starting_after: NotRequired[str] |
| 38 |
""" |
| 39 |
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. |
| 40 |
""" |
| 41 |
type: NotRequired[str] |
| 42 |
""" |
| 43 |
Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. |
| 44 |
""" |
| 45 |
|
| 46 |
|
| 47 |
class BalanceTransactionListParamsCreated(TypedDict): |
| 48 |
gt: NotRequired[int] |
| 49 |
""" |
| 50 |
Minimum value to filter by (exclusive) |
| 51 |
""" |
| 52 |
gte: NotRequired[int] |
| 53 |
""" |
| 54 |
Minimum value to filter by (inclusive) |
| 55 |
""" |
| 56 |
lt: NotRequired[int] |
| 57 |
""" |
| 58 |
Maximum value to filter by (exclusive) |
| 59 |
""" |
| 60 |
lte: NotRequired[int] |
| 61 |
""" |
| 62 |
Maximum value to filter by (inclusive) |
| 63 |
""" |