Paykeys
Paykeys are secure tokens that link verified customer identities to their bank accounts. Each Paykey includes built-in balance checking, fraud detection through LSTM machine learning models, and can be reused for subscriptions and recurring payments without storing sensitive data. Paykeys eliminate fraud by ensuring the person initiating payment owns the funding account.
Unmask a paykey
Retrieve an unmasked paykey token
Update a paykey's balance
ModelsExpand Collapse
class PaykeySummaryPagedV1: …
data: List[Data]
label: str
Human-readable label that combines the bank name and masked account number to help easility represent this paykey in a UI
paykey: str
The tokenized paykey value. This value is used to create payments and should be stored securely.
bank_data: Optional[DataBankData]
expires_at: Optional[datetime]
Expiration date and time of the paykey, if applicable.
external_id: Optional[str]
Unique identifier for the paykey in your database, used for cross-referencing between Straddle and your systems.
meta: Meta
response_type: Literal["object", "array", "error", "none"]
Indicates the structure of the returned content.
- "object" means the
datafield contains a single JSON object. - "array" means the
datafield contains an array of objects. - "error" means the
datafield contains an error object with details of the issue. - "none" means no data is returned.
class PaykeyUnmaskedV1: …
data: Data
paykey: str
The tokenized paykey value. This value is used to create payments and should be stored securely.
expires_at: Optional[datetime]
Expiration date and time of the paykey, if applicable.
external_id: Optional[str]
Unique identifier for the paykey in your database, used for cross-referencing between Straddle and your systems.
metadata: Optional[Dict[str, str]]
Up to 20 additional user-defined key-value pairs. Useful for storing additional information about the paykey in a structured format.
response_type: Literal["object", "array", "error", "none"]
Indicates the structure of the returned content.
- "object" means the
datafield contains a single JSON object. - "array" means the
datafield contains an array of objects. - "error" means the
datafield contains an error object with details of the issue. - "none" means no data is returned.
class PaykeyV1: …
data: Data
paykey: str
The tokenized paykey value. This value is used to create payments and should be stored securely.
bank_data: Optional[DataBankData]
expires_at: Optional[datetime]
Expiration date and time of the paykey, if applicable.
external_id: Optional[str]
Unique identifier for the paykey in your database, used for cross-referencing between Straddle and your systems.
metadata: Optional[Dict[str, str]]
Up to 20 additional user-defined key-value pairs. Useful for storing additional information about the paykey in a structured format.
response_type: Literal["object", "array", "error", "none"]
Indicates the structure of the returned content.
- "object" means the
datafield contains a single JSON object. - "array" means the
datafield contains an array of objects. - "error" means the
datafield contains an error object with details of the issue. - "none" means no data is returned.
class PaykeyRevealResponse: …
data: Data
label: str
Human-readable label that combines the bank name and masked account number to help easility represent this paykey in a UI
paykey: str
The tokenized paykey value. This token is used to create payments and should be stored securely.
bank_data: Optional[DataBankData]
expires_at: Optional[datetime]
Expiration date and time of the paykey, if applicable.
external_id: Optional[str]
Unique identifier for the paykey in your database, used for cross-referencing between Straddle and your systems.
metadata: Optional[Dict[str, str]]
Up to 20 additional user-defined key-value pairs. Useful for storing additional information about the paykey in a structured format.
response_type: Literal["object", "array", "error", "none"]
Indicates the structure of the returned content.
- "object" means the
datafield contains a single JSON object. - "array" means the
datafield contains an array of objects. - "error" means the
datafield contains an error object with details of the issue. - "none" means no data is returned.
PaykeysReview
Paykeys are secure tokens that link verified customer identities to their bank accounts. Each Paykey includes built-in balance checking, fraud detection through LSTM machine learning models, and can be reused for subscriptions and recurring payments without storing sensitive data. Paykeys eliminate fraud by ensuring the person initiating payment owns the funding account.
Update a paykey's status
Get paykey review details
Update a paykey's identity review decision
ModelsExpand Collapse
class ReviewGetResponse: …
data: Data
paykey_details: DataPaykeyDetails
paykey: str
The tokenized paykey value. This value is used to create payments and should be stored securely.
bank_data: Optional[DataPaykeyDetailsBankData]
expires_at: Optional[datetime]
Expiration date and time of the paykey, if applicable.
external_id: Optional[str]
Unique identifier for the paykey in your database, used for cross-referencing between Straddle and your systems.
metadata: Optional[Dict[str, str]]
Up to 20 additional user-defined key-value pairs. Useful for storing additional information about the paykey in a structured format.
response_type: Literal["object", "array", "error", "none"]
Indicates the structure of the returned content.
- "object" means the
datafield contains a single JSON object. - "array" means the
datafield contains an array of objects. - "error" means the
datafield contains an error object with details of the issue. - "none" means no data is returned.