Skip to content

Commit 0962e5b

Browse files
docs: remove or fix invalid readme examples
1 parent 49045c4 commit 0962e5b

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

README.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -142,20 +142,6 @@ for card in first_page.data:
142142
# Remove `await` for non-async usage.
143143
```
144144

145-
## Nested params
146-
147-
Nested parameters are dictionaries, typed using `TypedDict`, for example:
148-
149-
```python
150-
from lithic import Lithic
151-
152-
client = Lithic()
153-
154-
card = client.cards.create(
155-
type="VIRTUAL",
156-
)
157-
```
158-
159145
## Webhook Verification
160146

161147
We provide helper methods for verifying that a webhook request came from Lithic, and not a malicious third party.
@@ -196,7 +182,7 @@ client = Lithic()
196182

197183
try:
198184
client.cards.create(
199-
type="an_incorrect_type",
185+
type="MERCHANT_LOCKED",
200186
)
201187
except lithic.APIConnectionError as e:
202188
print("The server could not be reached")

0 commit comments

Comments
 (0)