Debian Codegraph @

stripe/params/identity/_verification_session_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 Literal, NotRequired, TypedDict
6
7
8 class VerificationSessionListParams(RequestOptions):
9 client_reference_id: NotRequired[str]
10 """
11 A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.
12 """
13 created: NotRequired["VerificationSessionListParamsCreated|int"]
14 """
15 Only return VerificationSessions that were created during the given date interval.
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 related_customer: NotRequired[str]
30 """
31 Customer ID
32 """
33 related_customer_account: NotRequired[str]
34 """
35 The ID of the Account representing a customer.
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 status: NotRequired[
42 Literal["canceled", "processing", "requires_input", "verified"]
43 ]
44 """
45 Only return VerificationSessions with this status. [Learn more about the lifecycle of sessions](https://docs.stripe.com/identity/how-sessions-work).
46 """
47
48
49 class VerificationSessionListParamsCreated(TypedDict):
50 gt: NotRequired[int]
51 """
52 Minimum value to filter by (exclusive)
53 """
54 gte: NotRequired[int]
55 """
56 Minimum value to filter by (inclusive)
57 """
58 lt: NotRequired[int]
59 """
60 Maximum value to filter by (exclusive)
61 """
62 lte: NotRequired[int]
63 """
64 Maximum value to filter by (inclusive)
65 """