-
Notifications
You must be signed in to change notification settings - Fork 4
/
tokenization_simulate_params.py
42 lines (30 loc) · 1.28 KB
/
tokenization_simulate_params.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, Required, TypedDict
__all__ = ["TokenizationSimulateParams"]
class TokenizationSimulateParams(TypedDict, total=False):
cvv: Required[str]
"""The three digit cvv for the card."""
expiration_date: Required[str]
"""The expiration date of the card in 'MM/YY' format."""
pan: Required[str]
"""The sixteen digit card number."""
tokenization_source: Required[Literal["APPLE_PAY", "GOOGLE", "SAMSUNG_PAY", "MERCHANT"]]
"""The source of the tokenization request."""
account_score: int
"""
The account score (1-5) that represents how the Digital Wallet's view on how
reputable an end user's account is.
"""
device_score: int
"""
The device score (1-5) that represents how the Digital Wallet's view on how
reputable an end user's device is.
"""
entity: str
"""
Optional field to specify the token requestor name for a merchant token
simulation. Ignored when tokenization_source is not MERCHANT.
"""
wallet_recommended_decision: Literal["APPROVED", "DECLINED", "REQUIRE_ADDITIONAL_AUTHENTICATION"]
"""The decision that the Digital Wallet's recommend"""