Partner Integration Security Architecture

Design trust boundaries and production controls for embedded trading, API, SDK, webhook, asset-transfer, and operational integrations.

View as Markdown

This page focuses on how a partner should design a secure 6MM integration. For the broader security layers used across the trading platform, see Platform Security Architecture.

Security architecture should be agreed before production integration begins. It affects how partner systems validate users, issue tokens, store secrets, receive events, monitor operations, and respond to incidents.

ComponentMay containMust not contain
Partner frontendPublic configuration, short-lived entry result, non-sensitive UI statePartner API secret, signing key, privileged backend credentials
Partner backendUser mapping, protected credentials, signing logic, webhook processingSecrets exposed through client responses or public logs
6MM integration endpointsApproved signed requests, tokens, and webhook deliveryUnverified partner-side user assumptions

The partner frontend should call the partner backend for privileged operations. The backend validates the partner user, calls 6MM through the approved API or SDK, and returns only the short-lived result needed by the frontend.

Security layers

LayerRequired focus
API credentialsBackend-only storage, rotation plan, and access control.
Request signingConsistent timestamp, signature, and replay protection handling.
Embed tokensShort-lived issuance, eligibility checks, and clear invalidation behavior.
WebhooksSignature verification, idempotency, retries, and event audit logs.
OperationsAccess roles, incident escalation, monitoring, and evidence retention.

Production control plan

Control areaMinimum implementation evidence
Credential storageSecret-manager location, access owner, environment separation, and rotation process.
User entrySession validation, eligibility check, short-lived token flow, and failure handling.
Signed requestsCorrect environment, synchronized time, request logging, and signature-error alerts.
Asset operationsUnique business IDs, timeout reconciliation, status queries, and operator review path.
WebhooksRaw-body signature verification, replay controls, idempotency store, and retry-safe processing.
MonitoringAlerts for authentication failures, abnormal retries, webhook lag, and operational errors.
Incident responseNamed owner, escalation channel, evidence retention, and credential-revocation procedure.

Launch review

Before production:

  1. Draw the user, token, request, asset, and webhook data flows.
  2. Mark where every credential is created, stored, used, logged, rotated, and revoked.
  3. Test expired tokens, invalid signatures, timeouts, duplicate webhooks, and reconnect behavior.
  4. Confirm that support teams can locate an operation from its request or business identifier.
  5. Complete the Production Launch Checklist.