Skip to content

Commit 0f01552

Browse files
feat(api): add REVERSED status value to payments list method
1 parent 3423f7a commit 0f01552

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 213
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-46435dfdef99ea1c005a78bab282c859980e1edd5570e781bf3b67dd97ebf545.yml
3-
openapi_spec_hash: fe504df52c793d72df78146d3fb6f3ac
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-5b3d4793b9cc2b4a6ac971f36d5e8a08b48fb976aba670f9ffedc929a52d3e0a.yml
3+
openapi_spec_hash: 3bcf49d20dbd24100d67fa3750a40e6b
44
config_hash: 5bb913c05ebeb301ec925b16e75bb251

src/lithic/resources/payments.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def list(
162162
page_size: int | Omit = omit,
163163
result: Literal["APPROVED", "DECLINED"] | Omit = omit,
164164
starting_after: str | Omit = omit,
165-
status: Literal["DECLINED", "PENDING", "RETURNED", "SETTLED"] | Omit = omit,
165+
status: Literal["DECLINED", "PENDING", "RETURNED", "REVERSED", "SETTLED"] | Omit = omit,
166166
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
167167
# The extra values given here take precedence over values defined on the client or passed to this method.
168168
extra_headers: Headers | None = None,
@@ -667,7 +667,7 @@ def list(
667667
page_size: int | Omit = omit,
668668
result: Literal["APPROVED", "DECLINED"] | Omit = omit,
669669
starting_after: str | Omit = omit,
670-
status: Literal["DECLINED", "PENDING", "RETURNED", "SETTLED"] | Omit = omit,
670+
status: Literal["DECLINED", "PENDING", "RETURNED", "REVERSED", "SETTLED"] | Omit = omit,
671671
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
672672
# The extra values given here take precedence over values defined on the client or passed to this method.
673673
extra_headers: Headers | None = None,

src/lithic/types/payment_list_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ class PaymentListParams(TypedDict, total=False):
5050
Used to retrieve the next page of results after this item.
5151
"""
5252

53-
status: Literal["DECLINED", "PENDING", "RETURNED", "SETTLED"]
53+
status: Literal["DECLINED", "PENDING", "RETURNED", "REVERSED", "SETTLED"]

0 commit comments

Comments
 (0)