SUQODocs
User GuideAPI ReferenceSDKs

Changelog & versioning

Release history for the SUQO React SDK.

Compatibility table

SDK VersionSupported API VersionChange TypeStatus
0.0.2n/a (no API calls)FixesShipped
0.0.1n/a (no API calls)Initial releaseShipped

The full history is in CHANGELOG.md in the SDK repository.

0.0.2 - 2026-10-08

Compare on GitHub.

Bug fixes

  • license: relicensed from Apache-2.0 to MIT.
  • VERSION export reported 0.1.0 instead of the published version.

0.0.1

Release on GitHub. The first published version, as @suqo/react.

Features

  • <SUQOCheckout id="cks_…" /> — the embedded SUQO payment block as a React component, with onReady, onSuccess, onFailure, onUnavailable and onLoadError.
  • mode prop ('sandbox' | 'live', default 'sandbox') picks the SUQO origin without naming a URL. origin is optional and still overrides mode when set. LIVE_ORIGIN, SANDBOX_ORIGIN, normaliseOrigin and CheckoutMode are exported.
  • onIntent prop: the frame can ask this package to hand a bank/wallet deeplink (intent://…, fonepayApp://…) to your own code. This package never navigates on it — only javascript:/data:/file:/blob: are refused.
  • DEFAULT_ORIGIN (a deprecated alias for SANDBOX_ORIGIN), and the ResultParams, ResultStatus, FailureStatus, UnavailableReason and LoadError types.

Requires

  • The SUQO web app must serve /c/<sessionId> (the chrome-less payment block) and /checkout/<sessionId> (the hosted standalone equivalent).

On this page