Skip to content

Commit 96ef058

Browse files
feat(api): api update
1 parent ae2e8eb commit 96ef058

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 228
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-44b5f1aa7877231cd00051536df52b79d7cdc9cdd18194e9d58416a23c0e3080.yml
3-
openapi_spec_hash: 60f0bd1ca37c9a57996238e105cca091
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f07048979577d746042198f73c1bac07529dd48f26402f60def922a12b6e01e0.yml
3+
openapi_spec_hash: 6d1ca8aa0b64f414db957540bbeab5ee
44
config_hash: eb2035151c7b49c2f12caf55469b8f9a

src/increase/types/pending_transaction.py

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,17 +1134,6 @@ class PendingTransaction(BaseModel):
11341134
For dollars, for example, this is cents.
11351135
"""
11361136

1137-
balance_impact: Literal["affects_available_balance", "none"]
1138-
"""
1139-
How the Pending Transaction affects the balance of its Account while its status
1140-
is `pending`.
1141-
1142-
- `affects_available_balance` - This Pending Transaction will decrement the
1143-
available balance on the Account while its status is `pending`.
1144-
- `none` - This Pending Transaction does not affect the available balance on the
1145-
Account.
1146-
"""
1147-
11481137
completed_at: Optional[datetime] = None
11491138
"""
11501139
The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
@@ -1178,6 +1167,13 @@ class PendingTransaction(BaseModel):
11781167
the vendor provides.
11791168
"""
11801169

1170+
held_amount: int
1171+
"""
1172+
The amount that this Pending Transaction decrements the available balance of its
1173+
Account. This is usually the same as `amount`, but will differ if the amount is
1174+
positive.
1175+
"""
1176+
11811177
route_id: Optional[str] = None
11821178
"""The identifier for the route this Pending Transaction came through.
11831179

0 commit comments

Comments
 (0)