Java Quick Start
Install and initialize the Java SDK from a backend service.
Install
Package access
6MM provides the approved package coordinates and version during partner onboarding. Use the package source configured for your organization.
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.