Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 239
openapi_spec_hash: d691eb2845a0108278fe81faa111d29f
openapi_spec_hash: e8136cf3fc19b9f1d4632136a98880cd
config_hash: 1ca082e374ef7000e2a5971e8da740e0
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions src/increase/types/pending_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -1580,10 +1580,10 @@ class PendingTransaction(BaseModel):
amount: int
"""The Pending Transaction amount in the minor unit of its currency.

For dollars, for example, this is cents. This amount does not change after the
Pending Transaction is created. If a card authorization settles for a different
amount, the settled amount is available on the resulting Transaction and on the
Card Payment's `state.settled_amount`.
For dollars, for example, this is cents. For a card authorization this is the
amount still held: it decreases when the merchant reverses part of the
authorization. The amount that settled is available on the resulting Transaction
and on the Card Payment's `state.settled_amount`.
"""

completed_at: Optional[datetime] = None
Expand Down Expand Up @@ -1651,8 +1651,8 @@ class PendingTransaction(BaseModel):
- `complete` - The Pending Transaction is confirmed. An associated Transaction
exists for this object. The Pending Transaction will no longer count against
your balance and can generally be hidden from UIs, etc. The Pending
Transaction's `amount` is not updated if the associated Transaction settles
for a different amount.
Transaction's `amount` is the amount that was still held when it completed,
which can differ from the amount of the associated Transaction.
"""

type: Literal["pending_transaction"]
Expand Down
8 changes: 4 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading