Skip to content

Commit 569a604

Browse files
feat: Accept opaque AgentCard vaulted card IDs
Stainless-Generated-From: 77ed6712c80370958baad94c48aa88b305a33690
1 parent 1a408c4 commit 569a604

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

src/kernel/types/vaults/card_vault_item_spec.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,10 @@ class AgentCardCardVaultItemSpec(BaseModel):
113113
"""Wallet item key used to authorize checkouts."""
114114

115115
card_id: Optional[str] = None
116-
"""AgentCard vaulted card to pay with.
116+
"""Opaque card ID returned by AgentCard for a card in the connected wallet.
117117
118-
Omitted, the cardholder picks on the approval screen.
118+
Pass it through unchanged without assuming a prefix or format. Omitted, the
119+
cardholder picks on the approval screen.
119120
"""
120121

121122

src/kernel/types/vaults/card_vault_item_spec_param.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ class AgentCardCardVaultItemSpec(TypedDict, total=False):
112112
"""Wallet item key used to authorize checkouts."""
113113

114114
card_id: str
115-
"""AgentCard vaulted card to pay with.
115+
"""Opaque card ID returned by AgentCard for a card in the connected wallet.
116116
117-
Omitted, the cardholder picks on the approval screen.
117+
Pass it through unchanged without assuming a prefix or format. Omitted, the
118+
cardholder picks on the approval screen.
118119
"""
119120

120121

0 commit comments

Comments
 (0)