@@ -110,8 +110,9 @@ def create(
110110 other `fulfillment_method` is provided.
111111
112112 valid_until_date: If provided, the check will be valid on or before this date. After this date,
113- the check transfer will be stopped and deposits will not be accepted. For checks
114- printed by Increase, this date is included on the check as its expiry.
113+ the check transfer will be automatically stopped and deposits will not be
114+ accepted. For checks printed by Increase, this date is included on the check as
115+ its expiry.
115116
116117 extra_headers: Send extra headers
117118
@@ -338,7 +339,7 @@ def stop_payment(
338339 self ,
339340 check_transfer_id : str ,
340341 * ,
341- reason : Literal ["mail_delivery_failed" , "not_authorized" , "unknown" ] | Omit = omit ,
342+ reason : Literal ["mail_delivery_failed" , "not_authorized" , "valid_until_date_passed" , " unknown" ] | Omit = omit ,
342343 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
343344 # The extra values given here take precedence over values defined on the client or passed to this method.
344345 extra_headers : Headers | None = None ,
@@ -357,6 +358,8 @@ def stop_payment(
357358
358359 - `mail_delivery_failed` - The check could not be delivered.
359360 - `not_authorized` - The check was not authorized.
361+ - `valid_until_date_passed` - The check was stopped for `valid_until_date` being
362+ in the past.
360363 - `unknown` - The check was stopped for another reason.
361364
362365 extra_headers: Send extra headers
@@ -469,8 +472,9 @@ async def create(
469472 other `fulfillment_method` is provided.
470473
471474 valid_until_date: If provided, the check will be valid on or before this date. After this date,
472- the check transfer will be stopped and deposits will not be accepted. For checks
473- printed by Increase, this date is included on the check as its expiry.
475+ the check transfer will be automatically stopped and deposits will not be
476+ accepted. For checks printed by Increase, this date is included on the check as
477+ its expiry.
474478
475479 extra_headers: Send extra headers
476480
@@ -697,7 +701,7 @@ async def stop_payment(
697701 self ,
698702 check_transfer_id : str ,
699703 * ,
700- reason : Literal ["mail_delivery_failed" , "not_authorized" , "unknown" ] | Omit = omit ,
704+ reason : Literal ["mail_delivery_failed" , "not_authorized" , "valid_until_date_passed" , " unknown" ] | Omit = omit ,
701705 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
702706 # The extra values given here take precedence over values defined on the client or passed to this method.
703707 extra_headers : Headers | None = None ,
@@ -716,6 +720,8 @@ async def stop_payment(
716720
717721 - `mail_delivery_failed` - The check could not be delivered.
718722 - `not_authorized` - The check was not authorized.
723+ - `valid_until_date_passed` - The check was stopped for `valid_until_date` being
724+ in the past.
719725 - `unknown` - The check was stopped for another reason.
720726
721727 extra_headers: Send extra headers
0 commit comments