A partner backend holds the secret Infinity Hub API key and exposes an authenticated application endpoint. The browser uses proxyTransport to call that endpoint.

Responsibilities

Authenticate the application user before forwarding requests. Derive X-Infinity-Subject from the authenticated session. Keep quote and order ownership bound to that subject. Allow only the required integration endpoints. Apply request-size limits and application rate limits. The SDK provides createInteropProxy and toNodeListener for supported server integrations. Use the installed package’s declarations for their framework adapter options. hubTransport supplies the server’s gateway credential. An in-memory ownership store does not survive a process restart or coordinate multiple replicas. Use durable shared ownership storage when the application requires those properties. Do not treat a browser-provided subject as authorization.

Timeouts and retries

Preserve the original request after a lost submission response. Propagate deferred-submission delays to the browser. Do not convert an unknown submission outcome into a definitive refusal. Do not retry EIN0052 automatically. Keep a stable user identifier across quote, submission, and tracking requests. See submission recovery.