Skip to content

Commit c08b37a

Browse files
1 parent 88dcc8c commit c08b37a

File tree

7 files changed

+47
-6
lines changed

7 files changed

+47
-6
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: 168
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-529662462c00af160f74568fe26dbe576cf1fdc9f427e11bb1939bd8acdcb43f.yml
3-
openapi_spec_hash: a98631dfc66716d41ada4ddb199f7028
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-aca56b6e4da5b97e586e66392dd3cf433208cb964e25081a661dd41cf456a88a.yml
3+
openapi_spec_hash: 297b9f330d31db8e5832463a0ce455ba
44
config_hash: 99dad20b4a7d4a1390670762b9da4231

src/lithic/resources/account_holders.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def create(
123123
external_id: A user provided id that can be used to link an account holder with an external
124124
system
125125
126-
kyb_passed_timestamp: An RFC 3339 timestamp indicating when precomputed KYC was completed on the
126+
kyb_passed_timestamp: An RFC 3339 timestamp indicating when precomputed KYB was completed on the
127127
business with a pass result.
128128
129129
This field is required only if workflow type is `KYB_BYO`.
@@ -1112,7 +1112,7 @@ async def create(
11121112
external_id: A user provided id that can be used to link an account holder with an external
11131113
system
11141114
1115-
kyb_passed_timestamp: An RFC 3339 timestamp indicating when precomputed KYC was completed on the
1115+
kyb_passed_timestamp: An RFC 3339 timestamp indicating when precomputed KYB was completed on the
11161116
business with a pass result.
11171117
11181118
This field is required only if workflow type is `KYB_BYO`.

src/lithic/types/account_holder_create_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class KYB(TypedDict, total=False):
7676

7777
kyb_passed_timestamp: str
7878
"""
79-
An RFC 3339 timestamp indicating when precomputed KYC was completed on the
79+
An RFC 3339 timestamp indicating when precomputed KYB was completed on the
8080
business with a pass result.
8181
8282
This field is required only if workflow type is `KYB_BYO`.

src/lithic/types/account_holder_simulate_enrollment_review_response.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,12 @@ class VerificationApplication(BaseModel):
241241
updated: datetime
242242
"""Timestamp of when the application was last updated."""
243243

244+
ky_passed_at: Optional[datetime] = None
245+
"""Timestamp of when the application passed the verification process.
246+
247+
Only present if `status` is `ACCEPTED`
248+
"""
249+
244250

245251
class AccountHolderSimulateEnrollmentReviewResponse(BaseModel):
246252
token: Optional[str] = None

src/lithic/types/account_holder_update_response.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,12 @@ class KYBKYCPatchResponseVerificationApplication(BaseModel):
244244
updated: datetime
245245
"""Timestamp of when the application was last updated."""
246246

247+
ky_passed_at: Optional[datetime] = None
248+
"""Timestamp of when the application passed the verification process.
249+
250+
Only present if `status` is `ACCEPTED`
251+
"""
252+
247253

248254
class KYBKYCPatchResponse(BaseModel):
249255
token: Optional[str] = None

src/lithic/types/kyb_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class KYBParam(TypedDict, total=False):
200200

201201
kyb_passed_timestamp: str
202202
"""
203-
An RFC 3339 timestamp indicating when precomputed KYC was completed on the
203+
An RFC 3339 timestamp indicating when precomputed KYB was completed on the
204204
business with a pass result.
205205
206206
This field is required only if workflow type is `KYB_BYO`.

src/lithic/types/three_ds/authentication_retrieve_response.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,35 @@ class ChallengeMetadata(BaseModel):
295295
method_type: Literal["SMS_OTP", "OUT_OF_BAND"]
296296
"""The type of challenge method used for authentication."""
297297

298+
status: Literal[
299+
"SUCCESS",
300+
"PENDING",
301+
"SMS_DELIVERY_FAILED",
302+
"CARDHOLDER_TIMEOUT",
303+
"CANCELED_VIA_CHALLENGE_UI",
304+
"CANCELED_OOB",
305+
"ATTEMPTS_EXCEEDED",
306+
"ABORTED",
307+
"ERROR",
308+
]
309+
"""Indicates the status of the challenge
310+
311+
- SUCCESS - Cardholder completed the challenge successfully
312+
- PENDING - Challenge was issued to the cardholder and was not completed yet
313+
- SMS_DELIVERY_FAILED - Lithic confirmed undeliverability of the SMS to the
314+
provided phone number. Relevant only for SMS_OTP method
315+
- CARDHOLDER_TIMEOUT - Cardholder failed to complete the challenge within the
316+
given challenge TTL
317+
- CANCELED_VIA_CHALLENGE_UI - Cardholder canceled the challenge by selecting
318+
"cancel" on the challenge UI
319+
- CANCELED_OOB - Cardholder canceled the challenge out of band
320+
- ATTEMPTS_EXCEEDED - Cardholder failed the challenge by either entering an
321+
incorrect OTP more than the allowed number of times or requesting a new OTP
322+
more than the allowed number of times
323+
- ABORTED - Merchant aborted authentication after a challenge was requested
324+
- ERROR - The challenge failed for a reason different than those documented
325+
"""
326+
298327
phone_number: Optional[str] = None
299328
"""The phone number used for delivering the OTP. Relevant only for SMS_OTP method."""
300329

0 commit comments

Comments
 (0)