-
Notifications
You must be signed in to change notification settings - Fork 4
/
transaction_list_params.py
53 lines (35 loc) · 1.53 KB
/
transaction_list_params.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union
from datetime import datetime
from typing_extensions import Literal, Annotated, TypedDict
from .._utils import PropertyInfo
__all__ = ["TransactionListParams"]
class TransactionListParams(TypedDict, total=False):
account_token: str
"""Filters for transactions associated with a specific account."""
begin: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]
"""Date string in RFC 3339 format.
Only entries created after the specified time will be included. UTC time zone.
"""
card_token: str
"""Filters for transactions associated with a specific card."""
end: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]
"""Date string in RFC 3339 format.
Only entries created before the specified time will be included. UTC time zone.
"""
ending_before: str
"""A cursor representing an item's token before which a page of results should end.
Used to retrieve the previous page of results before this item.
"""
page_size: int
"""Page size (for pagination)."""
result: Literal["APPROVED", "DECLINED"]
"""Filters for transactions using transaction result field.
Can filter by `APPROVED`, and `DECLINED`.
"""
starting_after: str
"""A cursor representing an item's token after which a page of results should
begin.
Used to retrieve the next page of results after this item.
"""