Java Quick Start
Install and initialize the Java SDK from a backend service.
Install
The public SDK source currently documents tag v0.1.1 with these Maven coordinates:
GitHub does not act as a Maven dependency repository. Install the tagged source locally before resolving the dependency:
Team builds
Publish the approved artifact to your organization’s Maven repository for CI, testing, and production builds. Confirm the approved version with 6MM before production deployment.
Source code and usage examples are available in the official Java SDK repository:
Before you start
- Confirm your production Agent API base URL with the 6MM team.
- Store apiSecret in backend secret management only.
- Prepare a stable mapping between platformUserId and agentUserId.
- Enable structured logs around bind, transfer, order, and webhook flows.
Initialize client
Backend only
Do not initialize the Agent SDK from browser, mobile, or desktop client code. The SDK signs privileged Agent API requests.
Example: transfer funds in
Use a unique partner-side order number for each transfer request. If a request times out, query the original order before creating a new one.