Debian Codegraph @

stripe/params/financial_connections/_account_list_params.py

raw
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 AccountListParams(RequestOptions):
9 account_holder: NotRequired["AccountListParamsAccountHolder"]
10 """
11 If present, only return accounts that belong to the specified account holder. `account_holder[customer]` and `account_holder[account]` are mutually exclusive.
12 """
13 ending_before: NotRequired[str]
14 """
15 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.
16 """
17 expand: NotRequired[List[str]]
18 """
19 Specifies which fields in the response should be expanded.
20 """
21 limit: NotRequired[int]
22 """
23 A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
24 """
25 session: NotRequired[str]
26 """
27 If present, only return accounts that were collected as part of the given session.
28 """
29 starting_after: NotRequired[str]
30 """
31 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.
32 """
33
34
35 class AccountListParamsAccountHolder(TypedDict):
36 account: NotRequired[str]
37 """
38 The ID of the Stripe account whose accounts you will retrieve.
39 """
40 customer: NotRequired[str]
41 """
42 The ID of the Stripe customer whose accounts you will retrieve.
43 """
44 customer_account: NotRequired[str]
45 """
46 The ID of the Account representing a customer whose accounts you will retrieve.
47 """