Skip to content

Commit f9d52b1

Browse files
committed
Bump for 'bd50dda'
1 parent 3d0f8f4 commit f9d52b1

1 file changed

Lines changed: 13 additions & 14 deletions

File tree

README.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ LithicClient client = LithicOkHttpClient.builder()
5757
.build();
5858
```
5959

60-
| Property | Environment variable | Required | Default value |
61-
| -------- | ------------------------- | -------- | ------------- |
62-
| apiKey | `LITHIC_API_KEY` | true ||
63-
| webhookSecret | `LITHIC_WEBHOOK_SECRET` | false ||
60+
| Property | Environment variable | Required | Default value |
61+
| ------------- | ----------------------- | -------- | ------------- |
62+
| apiKey | `LITHIC_API_KEY` | true | |
63+
| webhookSecret | `LITHIC_WEBHOOK_SECRET` | false | |
6464

6565
Read the documentation for more configuration options.
6666

@@ -137,12 +137,6 @@ To write an unrecognized enum value, pass a string to the wrapper class's `of` c
137137
Card.builder().state(State.of("NEW_STATE")).build()
138138
```
139139

140-
141-
142-
143-
144-
145-
146140
## Requests
147141

148142
### Parameters and bodies
@@ -199,7 +193,6 @@ if (state().isMissing()) {
199193
}
200194
```
201195

202-
203196
### Additional model properties
204197

205198
Sometimes, the server response may include additional properties that are not yet available in this library's types. You can access them using the model's `_additionalProperties` method:
@@ -208,7 +201,6 @@ Sometimes, the server response may include additional properties that are not ye
208201
String secret = card._additionalProperties().get("secret_field");
209202
```
210203

211-
212204
---
213205

214206
## Pagination
@@ -266,7 +258,6 @@ You can use `lithic.webhooks().verifySignature(body, headers, secret?)` or `lith
266258

267259
---
268260

269-
270261
## Error handling
271262

272263
This library throws exceptions in a single hierarchy for easy handling:
@@ -293,27 +284,35 @@ This library throws exceptions in a single hierarchy for easy handling:
293284
## Network options
294285

295286
### Retries
287+
296288
Requests that experience certain errors are automatically retried 2 times by default, with a short exponential backoff. Connection errors (for example, due to a network connectivity problem), 409 Conflict, 429 Rate Limit, and >=500 Internal errors will all be retried by default.
297289
You can provide a `maxRetries` on the client builder to configure this:
290+
298291
```java
299292
LithicClient client = LithicOkHttpClient.builder()
300293
.fromEnv()
301294
.maxRetries(4)
302295
.build();
303296
```
297+
304298
### Timeouts
299+
305300
Requests time out after 60 seconds by default. You can configure this on the client builder:
301+
306302
```java
307303
LithicClient client = LithicOkHttpClient.builder()
308304
.fromEnv()
309305
.timeout(Duration.ofSeconds(30))
310306
.build();
311307
```
308+
312309
### Environments
310+
313311
Requests are made to the production environment by default. You can connect to other environments, like `sandbox`, via the client builder:
312+
314313
```java
315314
LithicClient client = LithicOkHttpClient.builder()
316315
.fromEnv()
317316
.sandbox()
318317
.build();
319-
```
318+
```

0 commit comments

Comments
 (0)