Skip to content

Commit

Permalink
docs(api): update account limits docstrings (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Jun 29, 2023
1 parent 908d86c commit 0ea7cb1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
12 changes: 8 additions & 4 deletions src/lithic/resources/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ def update(
daily_spend_limit: Amount (in cents) for the account's new daily spend limit. Note that a spend
limit of 0 is effectively no limit, and should only be used to reset or remove a
prior limit. Only a limit of 1 or above will result in declined transactions due
to checks against the account limit.
to checks against the account limit. By default the daily spend limit is set to
$1,250.00.
lifetime_spend_limit: Amount (in cents) for the account's new lifetime limit. Once this limit is
reached, no transactions will be accepted on any card created for this account
Expand All @@ -89,7 +90,8 @@ def update(
monthly_spend_limit: Amount (in cents) for the account's new monthly spend limit. Note that a spend
limit of 0 is effectively no limit, and should only be used to reset or remove a
prior limit. Only a limit of 1 or above will result in declined transactions due
to checks against the account limit.
to checks against the account limit. By default the monthly spend limit is set
to $5,000.00.
state: Account states.
Expand Down Expand Up @@ -248,7 +250,8 @@ async def update(
daily_spend_limit: Amount (in cents) for the account's new daily spend limit. Note that a spend
limit of 0 is effectively no limit, and should only be used to reset or remove a
prior limit. Only a limit of 1 or above will result in declined transactions due
to checks against the account limit.
to checks against the account limit. By default the daily spend limit is set to
$1,250.00.
lifetime_spend_limit: Amount (in cents) for the account's new lifetime limit. Once this limit is
reached, no transactions will be accepted on any card created for this account
Expand All @@ -260,7 +263,8 @@ async def update(
monthly_spend_limit: Amount (in cents) for the account's new monthly spend limit. Note that a spend
limit of 0 is effectively no limit, and should only be used to reset or remove a
prior limit. Only a limit of 1 or above will result in declined transactions due
to checks against the account limit.
to checks against the account limit. By default the monthly spend limit is set
to $5,000.00.
state: Account states.
Expand Down
6 changes: 4 additions & 2 deletions src/lithic/types/account_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class AccountUpdateParams(TypedDict, total=False):
Note that a spend limit of 0 is effectively no limit, and should only be used to
reset or remove a prior limit. Only a limit of 1 or above will result in
declined transactions due to checks against the account limit.
declined transactions due to checks against the account limit. By default the
daily spend limit is set to $1,250.00.
"""

lifetime_spend_limit: int
Expand All @@ -31,7 +32,8 @@ class AccountUpdateParams(TypedDict, total=False):
Note that a spend limit of 0 is effectively no limit, and should only be used to
reset or remove a prior limit. Only a limit of 1 or above will result in
declined transactions due to checks against the account limit.
declined transactions due to checks against the account limit. By default the
monthly spend limit is set to $5,000.00.
"""

state: Literal["ACTIVE", "PAUSED"]
Expand Down

0 comments on commit 0ea7cb1

Please sign in to comment.