Agent Java SDK

Install the 6MM Agent Java SDK and use signed backend APIs for user binding, transfers, entry credentials, and webhook verification.
View as Markdown

Official repository

The Java SDK repository is the source of truth for SDK source code, release notes, usage examples, and implementation details:

6mm-com/agent-java-sdk

Runtime

ItemValue
Minimum Java versionJava 8+
Recommended build toolMaven 3.9+
Maven groupcom.sixmm.exchange.sdk
Maven artifactagent
Documented source tagv0.1.1

The public GitHub repository is source hosting, not a Maven dependency repository. Build and install the tagged source locally or publish the approved artifact to your organization’s private Maven repository before using it in team builds.

Typical backend responsibilities

  • Validate the partner user session.
  • Map the partner user to agentUserId.
  • Call bind before first trading or transfer flows.
  • Call createEntryUrl for one-time full-site SSO.
  • Call createEmbedToken for Trading Widget partner-token mode.
  • Verify transfer webhooks and process them idempotently.

Security and operational rules

  • Store apiSecret only in a backend secret manager or protected environment variable.
  • Keep server time synchronized because signed requests contain timestamps.
  • Treat agentOrderNo as a durable idempotency key and keep it globally unique.
  • Store platformUserId as a string and persist its relationship to agentUserId.
  • Query the original transfer before retrying after a timeout or uncertain network result.

Next steps