Skip to content

Commit 2355663

Browse files
feat(api): api update
1 parent 1b951fc commit 2355663

File tree

2 files changed

+66
-2
lines changed

2 files changed

+66
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 232
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-985e738d362cc4d7dce557163d9e57b9a3a254718d862bdeb2758b6c265584b9.yml
3-
openapi_spec_hash: aa0b0b7eb6ca282b6e607dcc0408fafe
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-8bcd1f04377ee8ae354a1cb3b1c214232c8b448a93c98502ea92b696bf0757bf.yml
3+
openapi_spec_hash: c338b176720c2dc69dd3f7db351ea8a5
44
config_hash: d15ecbf4dc8a7a0ef99397d11b557444

src/increase/types/card_payment.py

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,70 @@ class ElementCardAuthentication(BaseModel):
389389
authentication attempt.
390390
"""
391391

392+
requestor_authentication_indicator: Optional[
393+
Literal[
394+
"payment_transaction",
395+
"recurring_transaction",
396+
"installment_transaction",
397+
"add_card",
398+
"maintain_card",
399+
"emv_token_cardholder_verification",
400+
"billing_agreement",
401+
]
402+
] = None
403+
"""
404+
The 3DS requestor authentication indicator describes why the authentication
405+
attempt is performed, such as for a recurring transaction.
406+
407+
- `payment_transaction` - The authentication is for a payment transaction.
408+
- `recurring_transaction` - The authentication is for a recurring transaction.
409+
- `installment_transaction` - The authentication is for an installment
410+
transaction.
411+
- `add_card` - The authentication is for adding a card.
412+
- `maintain_card` - The authentication is for maintaining a card.
413+
- `emv_token_cardholder_verification` - The authentication is for EMV token
414+
cardholder verification.
415+
- `billing_agreement` - The authentication is for a billing agreement.
416+
"""
417+
418+
requestor_challenge_indicator: Optional[
419+
Literal[
420+
"no_preference",
421+
"no_challenge_requested",
422+
"challenge_requested_3ds_requestor_preference",
423+
"challenge_requested_mandate",
424+
"no_challenge_requested_transactional_risk_analysis_already_performed",
425+
"no_challenge_requested_data_share_only",
426+
"no_challenge_requested_strong_consumer_authentication_already_performed",
427+
"no_challenge_requested_utilize_whitelist_exemption_if_no_challenge_required",
428+
"challenge_requested_whitelist_prompt_requested_if_challenge_required",
429+
]
430+
] = None
431+
"""Indicates whether a challenge is requested for this transaction.
432+
433+
- `no_preference` - No preference.
434+
- `no_challenge_requested` - No challenge requested.
435+
- `challenge_requested_3ds_requestor_preference` - Challenge requested, 3DS
436+
Requestor preference.
437+
- `challenge_requested_mandate` - Challenge requested, mandate.
438+
- `no_challenge_requested_transactional_risk_analysis_already_performed` - No
439+
challenge requested, transactional risk analysis already performed.
440+
- `no_challenge_requested_data_share_only` - No challenge requested, data share
441+
only.
442+
- `no_challenge_requested_strong_consumer_authentication_already_performed` - No
443+
challenge requested, strong consumer authentication already performed.
444+
- `no_challenge_requested_utilize_whitelist_exemption_if_no_challenge_required` -
445+
No challenge requested, utilize whitelist exemption if no challenge required.
446+
- `challenge_requested_whitelist_prompt_requested_if_challenge_required` -
447+
Challenge requested, whitelist prompt requested if challenge required.
448+
"""
449+
450+
requestor_name: str
451+
"""The name of the 3DS requestor."""
452+
453+
requestor_url: str
454+
"""The URL of the 3DS requestor."""
455+
392456
status: Literal[
393457
"denied",
394458
"authenticated_with_challenge",

0 commit comments

Comments
 (0)