Skip to content

Commit c30702f

Browse files
docs(types): update cash_amount field description in CardAuthorization
1 parent 938657e commit c30702f

2 files changed

Lines changed: 8 additions & 7 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-47e9f78d22682623e313f1689f5fa7e3420575ff285a14a2f4704c49ffb6b72e.yml
3-
openapi_spec_hash: 4797fe46d942cb32e648a79015783d01
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-d83e3ddb148bc0c81ff97bd31b82027d5b37efc110f5981103e7b9a2ae281c86.yml
3+
openapi_spec_hash: f607b0571c4ed82a93a3df7bc9e9351b
44
config_hash: 5bb913c05ebeb301ec925b16e75bb251

src/lithic/types/card_authorization.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -483,12 +483,13 @@ class CardAuthorization(BaseModel):
483483

484484
cash_amount: int
485485
"""
486-
The portion of the transaction requested as cash back by the cardholder, and
487-
does not include any acquirer fees. The amount field includes the purchase
488-
amount, the requested cash back amount, and any acquirer fees.
486+
The amount of cash requested by the cardholder, in the cardholder billing
487+
currency's smallest unit. For purchase-with-cashback transactions this is the
488+
cashback portion only; for ATM transactions this is the full amount. This amount
489+
includes all acquirer fees.
489490
490-
If no cash back was requested, the value of this field will be 0, and the field
491-
will always be present.
491+
If no cash was requested, the value of this field will be 0, and the field will
492+
always be present.
492493
"""
493494

494495
created: datetime

0 commit comments

Comments
 (0)