We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c558016 commit 57977cfCopy full SHA for 57977cf
extend/resources/credit_cards.py
@@ -49,3 +49,21 @@ async def get_credit_cards(
49
params = {k: v for k, v in params.items() if v is not None}
50
51
return await self._request(method="get", params=params)
52
+
53
+ async def get_credit_card_detail(
54
+ self,
55
+ card_id: str
56
+ ) -> Dict:
57
+ """Get detailed information about a specific credit card.
58
59
+ Args:
60
+ card_id (str): The unique identifier of the credit card
61
62
+ Returns:
63
+ Dict: A dictionary containing the credit card details:
64
65
+ Raises:
66
+ httpx.HTTPError: If the request fails
67
+ """
68
69
+ return await self._request(method="get", path=f"/{card_id}")
0 commit comments