0BitDeveloper Docs
0Bit public documentation

Mobile integration

Use Gate hosted redirect from iOS and Android applications.

Gate does not expose a separate native money-flow API. Create a GateSession on your server and open the hosted Gate checkout using the browser SDK's redirect helper or an equivalent system-browser navigation.

GateRamp.redirectToCheckout({
  environment: 'sandbox',
  publishableKey: 'pk_test_...',
  clientSecret: session.client_secret,
});

For a native app, set the session's return_url to an HTTPS universal link or app link controlled by your organization. Validate the returned state against the order stored on your server.

Security rules:

Wallet hand-offs, bank authentication, and payment challenges may open additional trusted system-browser or wallet-app surfaces. Your app should tolerate backgrounding and resume by retrieving its own order state rather than replaying session creation.