Skip to content

Commit 8b7bfc8

Browse files
docs(api): clarify ACCOUNT_AGE behavior in auth_rules conditional parameters
1 parent a270862 commit 8b7bfc8

5 files changed

Lines changed: 22 additions & 12 deletions

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 194
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

lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ class Condition < Lithic::Internal::Type::BaseModel
108108
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
109109
# Use an integer value.
110110
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
111-
# of the authorization. Use an integer value.
111+
# of the authorization. Use an integer value. For programs where Lithic does not
112+
# manage or retain account holder data, this attribute does not evaluate.
112113
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
113114
# entity's transaction history. Null if fewer than 30 approved transactions in
114115
# the specified window. Requires `parameters.scope` and `parameters.interval`.
@@ -269,7 +270,8 @@ class Condition < Lithic::Internal::Type::BaseModel
269270
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
270271
# Use an integer value.
271272
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
272-
# of the authorization. Use an integer value.
273+
# of the authorization. Use an integer value. For programs where Lithic does not
274+
# manage or retain account holder data, this attribute does not evaluate.
273275
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
274276
# entity's transaction history. Null if fewer than 30 approved transactions in
275277
# the specified window. Requires `parameters.scope` and `parameters.interval`.

lib/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ class Condition < Lithic::Internal::Type::BaseModel
6969
# - `CARD_AGE`: The age of the card in seconds at the time of the transaction. Use
7070
# an integer value.
7171
# - `ACCOUNT_AGE`: The age of the account in seconds at the time of the
72-
# transaction. Use an integer value.
72+
# transaction. Use an integer value. For programs where Lithic does not manage
73+
# or retain account holder data, this attribute does not evaluate.
7374
# - `SPEND_VELOCITY_COUNT`: The number of transactions matching the specified
7475
# filters within the given period. Requires `parameters` with `scope`, `period`,
7576
# and optional `filters`. Use an integer value.
@@ -161,7 +162,8 @@ class Condition < Lithic::Internal::Type::BaseModel
161162
# - `CARD_AGE`: The age of the card in seconds at the time of the transaction. Use
162163
# an integer value.
163164
# - `ACCOUNT_AGE`: The age of the account in seconds at the time of the
164-
# transaction. Use an integer value.
165+
# transaction. Use an integer value. For programs where Lithic does not manage
166+
# or retain account holder data, this attribute does not evaluate.
165167
# - `SPEND_VELOCITY_COUNT`: The number of transactions matching the specified
166168
# filters within the given period. Requires `parameters` with `scope`, `period`,
167169
# and optional `filters`. Use an integer value.

rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ module Lithic
177177
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
178178
# Use an integer value.
179179
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
180-
# of the authorization. Use an integer value.
180+
# of the authorization. Use an integer value. For programs where Lithic does not
181+
# manage or retain account holder data, this attribute does not evaluate.
181182
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
182183
# entity's transaction history. Null if fewer than 30 approved transactions in
183184
# the specified window. Requires `parameters.scope` and `parameters.interval`.
@@ -345,7 +346,8 @@ module Lithic
345346
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
346347
# Use an integer value.
347348
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
348-
# of the authorization. Use an integer value.
349+
# of the authorization. Use an integer value. For programs where Lithic does not
350+
# manage or retain account holder data, this attribute does not evaluate.
349351
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
350352
# entity's transaction history. Null if fewer than 30 approved transactions in
351353
# the specified window. Requires `parameters.scope` and `parameters.interval`.
@@ -494,7 +496,8 @@ module Lithic
494496
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
495497
# Use an integer value.
496498
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
497-
# of the authorization. Use an integer value.
499+
# of the authorization. Use an integer value. For programs where Lithic does not
500+
# manage or retain account holder data, this attribute does not evaluate.
498501
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
499502
# entity's transaction history. Null if fewer than 30 approved transactions in
500503
# the specified window. Requires `parameters.scope` and `parameters.interval`.

rbi/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbi

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ module Lithic
125125
# - `CARD_AGE`: The age of the card in seconds at the time of the transaction. Use
126126
# an integer value.
127127
# - `ACCOUNT_AGE`: The age of the account in seconds at the time of the
128-
# transaction. Use an integer value.
128+
# transaction. Use an integer value. For programs where Lithic does not manage
129+
# or retain account holder data, this attribute does not evaluate.
129130
# - `SPEND_VELOCITY_COUNT`: The number of transactions matching the specified
130131
# filters within the given period. Requires `parameters` with `scope`, `period`,
131132
# and optional `filters`. Use an integer value.
@@ -224,7 +225,8 @@ module Lithic
224225
# - `CARD_AGE`: The age of the card in seconds at the time of the transaction. Use
225226
# an integer value.
226227
# - `ACCOUNT_AGE`: The age of the account in seconds at the time of the
227-
# transaction. Use an integer value.
228+
# transaction. Use an integer value. For programs where Lithic does not manage
229+
# or retain account holder data, this attribute does not evaluate.
228230
# - `SPEND_VELOCITY_COUNT`: The number of transactions matching the specified
229231
# filters within the given period. Requires `parameters` with `scope`, `period`,
230232
# and optional `filters`. Use an integer value.
@@ -304,7 +306,8 @@ module Lithic
304306
# - `CARD_AGE`: The age of the card in seconds at the time of the transaction. Use
305307
# an integer value.
306308
# - `ACCOUNT_AGE`: The age of the account in seconds at the time of the
307-
# transaction. Use an integer value.
309+
# transaction. Use an integer value. For programs where Lithic does not manage
310+
# or retain account holder data, this attribute does not evaluate.
308311
# - `SPEND_VELOCITY_COUNT`: The number of transactions matching the specified
309312
# filters within the given period. Requires `parameters` with `scope`, `period`,
310313
# and optional `filters`. Use an integer value.

0 commit comments

Comments
 (0)