Skip to content

Commit ba422a5

Browse files
feat(api): add IS_NEW_MERCHANT metric to auth rules v2
1 parent 774b7a3 commit ba422a5

2 files changed

Lines changed: 7 additions & 2 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: 191
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-a46ebb10f6bb217a591206f0574450c324f108dbd32a2d62727cd8186d85e94f.yml
3-
openapi_spec_hash: f320c173152f74b0799166b6ef5b82cd
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-92d7ce0702a494edb7beb0ad484c4f24aca65777197d40b2108d05c13c3fa505.yml
3+
openapi_spec_hash: 35e4b9edb38ef23f528fcfbfeaabac02
44
config_hash: ac8326134e692f3f3bdec82396bbec80

src/resources/auth-rules/v2/v2.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,10 @@ export namespace ConditionalAuthorizationActionParameters {
828828
* transaction for the entity. Requires `parameters.scope`.
829829
* - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
830830
* the entity's transaction history. Requires `parameters.scope`.
831+
* - `IS_NEW_MERCHANT`: Whether the card acceptor ID has not been seen in the
832+
* card's approved transaction history (capped at the 1000 most recently seen
833+
* merchants). Valid values are `TRUE`, `FALSE`. Card-scoped only; no
834+
* `parameters` required.
831835
* - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
832836
* a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
833837
*/
@@ -867,6 +871,7 @@ export namespace ConditionalAuthorizationActionParameters {
867871
| 'CONSECUTIVE_DECLINES'
868872
| 'TIME_SINCE_LAST_TRANSACTION'
869873
| 'DISTINCT_COUNTRY_COUNT'
874+
| 'IS_NEW_MERCHANT'
870875
| 'THREE_DS_SUCCESS_RATE';
871876

872877
/**

0 commit comments

Comments
 (0)