You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Dodo Payments Java SDK provides convenient access to the [Dodo Payments REST API](https://docs.dodopayments.com/api-reference/introduction) from applications written in Java.
11
11
12
12
The Dodo Payments Java SDK is similar to the Dodo Payments Kotlin SDK but with minor differences that make it more ergonomic for use in Java, such as `Optional` instead of nullable values, `Stream` instead of `Sequence`, and `CompletableFuture` instead of suspend functions.
13
13
14
-
It is generated with [Stainless](https://www.stainless.com/).
15
-
16
14
## MCP Server
17
15
18
16
Use the Dodo Payments MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
19
17
20
18
[](https://cursor.com/en-US/install-mcp?name=dodopayments-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImRvZG9wYXltZW50cy1tY3AiXSwiZW52Ijp7IkRPRE9fUEFZTUVOVFNfQVBJX0tFWSI6Ik15IEJlYXJlciBUb2tlbiIsIkRPRE9fUEFZTUVOVFNfV0VCSE9PS19LRVkiOiJNeSBXZWJob29rIEtleSJ9fQ)
21
-
[](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22dodopayments-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22dodopayments-mcp%22%5D%2C%22env%22%3A%7B%22DODO_PAYMENTS_API_KEY%22%3A%22My%20Bearer%20Token%22%2C%22DODO_PAYMENTS_WEBHOOK_KEY%22%3A%22My%20Webhook%20Key%22%7D%7D)
22
19
23
20
> Note: You may need to set environment variables in your MCP client.
24
21
25
22
<!-- x-release-please-start-version -->
26
23
27
-
The REST API documentation can be found on [docs.dodopayments.com](https://docs.dodopayments.com/api-reference/introduction). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.dodopayments.api/dodo-payments-java/1.99.1).
24
+
The REST API documentation can be found on [docs.dodopayments.com](https://docs.dodopayments.com/api-reference/introduction). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.dodopayments.api/dodo-payments-java/1.102.0).
28
25
29
26
<!-- x-release-please-end -->
30
27
@@ -35,7 +32,7 @@ The REST API documentation can be found on [docs.dodopayments.com](https://docs.
Java `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.
833
+
Java `enum` classes are not trivially forwards compatible. Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.
837
834
838
835
### Why do you represent fields using `JsonField<T>` instead of just plain `T`?
Copy file name to clipboardExpand all lines: bin/check-release-environment
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
3
3
errors=()
4
4
5
-
if [ -z"${RELEASE_PLEASE_TOKEN}" ];then
6
-
errors+=("The RELEASE_PLEASE_TOKEN secret has not been set. Create a fine-grained GitHub PAT and add it as a repository secret.")
5
+
if [ -z"${APP_PRIVATE_KEY}" ];then
6
+
errors+=("The APP_PRIVATE_KEY secret has not been set. Add the dodo-squirrels GitHub App private key as a repository secret, and set the APP_CLIENT_ID repository variable.")
Copy file name to clipboardExpand all lines: dodo-payments-java-core/src/main/kotlin/com/dodopayments/api/models/balances/BalanceRetrieveLedgerParams.kt
0 commit comments