Skip to content

Commit 9fa7ab5

Browse files
docs(api): clarify ACCOUNT_AGE attribute behavior in auth_rules conditions
1 parent b765f10 commit 9fa7ab5

5 files changed

Lines changed: 10 additions & 6 deletions

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 193
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-19240135588c2012b39cde86218a05c471b3e7831b57c736704e3fbca109e3a9.yml
3-
openapi_spec_hash: c6a5c719b89e08de52aea005b39fd5a6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-26d81470c7f745ed62524638a09233f19280a1d386ae1041e41fa0f3f58fc59b.yml
3+
openapi_spec_hash: 8d6111c35fddd5b9e291ecc0f9a4b206
44
config_hash: 1c5c139a2aa0d1d45c063f953a9bc803

src/lithic/types/auth_rules/conditional_authorization_action_parameters.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ class Condition(BaseModel):
156156
- `CARD_AGE`: The age of the card in seconds at the time of the authorization.
157157
Use an integer value.
158158
- `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
159-
of the authorization. Use an integer value.
159+
of the authorization. Use an integer value. For programs where Lithic does not
160+
manage or retain account holder data, this attribute does not evaluate.
160161
- `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
161162
entity's transaction history. Null if fewer than 30 approved transactions in
162163
the specified window. Requires `parameters.scope` and `parameters.interval`.

src/lithic/types/auth_rules/conditional_authorization_action_parameters_param.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ class Condition(TypedDict, total=False):
160160
- `CARD_AGE`: The age of the card in seconds at the time of the authorization.
161161
Use an integer value.
162162
- `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
163-
of the authorization. Use an integer value.
163+
of the authorization. Use an integer value. For programs where Lithic does not
164+
manage or retain account holder data, this attribute does not evaluate.
164165
- `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
165166
entity's transaction history. Null if fewer than 30 approved transactions in
166167
the specified window. Requires `parameters.scope` and `parameters.interval`.

src/lithic/types/auth_rules/conditional_card_transaction_update_action_parameters.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ class Condition(BaseModel):
9494
- `CARD_AGE`: The age of the card in seconds at the time of the transaction. Use
9595
an integer value.
9696
- `ACCOUNT_AGE`: The age of the account in seconds at the time of the
97-
transaction. Use an integer value.
97+
transaction. Use an integer value. For programs where Lithic does not manage
98+
or retain account holder data, this attribute does not evaluate.
9899
- `SPEND_VELOCITY_COUNT`: The number of transactions matching the specified
99100
filters within the given period. Requires `parameters` with `scope`, `period`,
100101
and optional `filters`. Use an integer value.

src/lithic/types/auth_rules/conditional_card_transaction_update_action_parameters_param.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ class Condition(TypedDict, total=False):
9898
- `CARD_AGE`: The age of the card in seconds at the time of the transaction. Use
9999
an integer value.
100100
- `ACCOUNT_AGE`: The age of the account in seconds at the time of the
101-
transaction. Use an integer value.
101+
transaction. Use an integer value. For programs where Lithic does not manage
102+
or retain account holder data, this attribute does not evaluate.
102103
- `SPEND_VELOCITY_COUNT`: The number of transactions matching the specified
103104
filters within the given period. Requires `parameters` with `scope`, `period`,
104105
and optional `filters`. Use an integer value.

0 commit comments

Comments
 (0)