{"_id":"@autlantic/checkout","name":"@autlantic/checkout","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@autlantic/checkout","version":"0.1.0","description":"Autlantic Billing mobile Checkout presenter for React Native. Opens hosted checkoutUrl via ASWebAuthenticationSession (iOS) and Chrome Custom Tabs (Android). No API keys.","license":"MIT","main":"src/index.ts","types":"src/index.ts","react-native":"src/index.ts","source":"src/index.ts","scripts":{"typescript":"tsc --noEmit","prepublishOnly":"npm run typescript"},"keywords":["react-native","autlantic","checkout","billing","usdc","payments","ios","android"],"repository":{"type":"git","url":"git+https://github.com/Autlantic/payments-sdk.git","directory":"sdks/react-native"},"bugs":{"url":"https://github.com/Autlantic/payments-sdk/issues"},"author":{"name":"Autlantic Limited","email":"support@autlantic.com"},"homepage":"https://docs.autlantic.com/api/react-native","publishConfig":{"access":"public"},"peerDependencies":{"react":"*","react-native":"*"},"devDependencies":{"typescript":"^5.6.3"},"_id":"@autlantic/checkout@0.1.0","gitHead":"2f2c431124dc136b6ca2a079b322f9f650d9f1a3","_nodeVersion":"24.7.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-7Pe+KqqzmE/StoAJQAyPY2SimyBH3UJ/w33hsFh98hCJ9lEyi/2BrSO43flbP5luKlpdXnx1emjpmi0sFfp02A==","shasum":"76a181dd7d3560c21b7db5f841ee3c36ee2efe28","tarball":"https://registry.npmjs.org/@autlantic/checkout/-/checkout-0.1.0.tgz","fileCount":12,"unpackedSize":14411,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDrbUikkb9UBtXkvnVYRKeo3hp70hLHi+/lA3Vpq/2/JgIgW/elhz5FcJtZeIie0ijlfv6ww5sxw7Xt2AcdJEgGb/Y="}]},"_npmUser":{"name":"autlantic","email":"arslan@dulsoft.com"},"directories":{},"maintainers":[{"name":"autlantic","email":"arslan@dulsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/checkout_0.1.0_1788877227882_0.7099634054150892"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-08T14:20:27.670Z","0.1.0":"2026-09-08T14:20:28.007Z","modified":"2026-09-08T14:20:28.868Z"},"maintainers":[{"name":"autlantic","email":"arslan@dulsoft.com"}],"description":"Autlantic Billing mobile Checkout presenter for React Native. Opens hosted checkoutUrl via ASWebAuthenticationSession (iOS) and Chrome Custom Tabs (Android). No API keys.","homepage":"https://docs.autlantic.com/api/react-native","keywords":["react-native","autlantic","checkout","billing","usdc","payments","ios","android"],"repository":{"type":"git","url":"git+https://github.com/Autlantic/payments-sdk.git","directory":"sdks/react-native"},"author":{"name":"Autlantic Limited","email":"support@autlantic.com"},"bugs":{"url":"https://github.com/Autlantic/payments-sdk/issues"},"license":"MIT","readme":"<p align=\"center\">\n  <img src=\"https://autlantic.com/brand/autlantic-icon-1024-master.png\" alt=\"Autlantic\" width=\"96\" height=\"96\" />\n</p>\n\n<h1 align=\"center\">Autlantic Billing — React Native</h1>\n\n<p align=\"center\">\n  <strong>USDC payments on Base</strong><br />\n  Official mobile Checkout presenter. Opens hosted checkout URLs — no API keys in the app.\n</p>\n\n<p align=\"center\">\n  <a href=\"https://docs.autlantic.com/api/react-native\"><img src=\"https://img.shields.io/badge/docs-docs.autlantic.com-5672cd?style=flat-square\" alt=\"Docs\" /></a>\n  <a href=\"https://github.com/Autlantic/payments-sdk/blob/main/LICENSE\"><img src=\"https://img.shields.io/badge/license-MIT-blue?style=flat-square\" alt=\"MIT License\" /></a>\n  <a href=\"https://autlantic.com\"><img src=\"https://img.shields.io/badge/product-autlantic.com-111827?style=flat-square\" alt=\"Autlantic\" /></a>\n</p>\n\n---\n\n## Why this SDK\n\nCheckout presenter only (`@autlantic/checkout`). Your backend creates the session; this module opens the hosted `checkoutUrl`. **iOS:** `ASWebAuthenticationSession` · **Android:** Chrome Custom Tabs. Classic `NativeModules` (New Architecture optional). Never embed `abk_*` keys or webhook secrets in the app. Avoid locked WebViews so WalletConnect can hand off to wallet apps.\n\n## Install\n\nUntil npm:\n\n```bash\nnpm install github:Autlantic/payments-sdk#sdks/react-native/v0.1.0\n# or: npm install /path/to/payments-sdk/sdks/react-native\ncd ios && pod install\n```\n\nWhen published: `npm install @autlantic/checkout`. Autolinking picks up Android + the CocoaPods podspec. Requires a custom native build (not Expo Go).\n\n## Quick start\n\n```ts\nimport AutlanticCheckout from '@autlantic/checkout';\n\nconst result = await AutlanticCheckout.present(checkoutUrl, {\n  returnUrlScheme: 'myapp',\n});\n// { status: 'completed' | 'canceled' | 'failed', callbackUrl?: string, error?: string }\n\nif (result.status === 'completed') {\n  // iOS may include callbackUrl. Android: Custom Tabs opened; handle deep links, then poll YOUR backend.\n}\n```\n\n## Backend contract\n\n1. Your server creates a session with `successUrl` / `cancelUrl` like `myapp://billing/success`.\n2. App calls `present` with the returned `checkoutUrl`.\n3. After return, poll **your** access API. Unlock only after a verified webhook on the server.\n\nSample merchant backend: [`examples/mobile-checkout`](../../examples/mobile-checkout) (`pnpm example:mobile`).\n\n## Documentation\n\n| | |\n|--|--|\n| [React Native Checkout](https://docs.autlantic.com/api/react-native) | API reference |\n| [Mobile apps](https://docs.autlantic.com/guide/mobile) | Mobile integration guide |\n| [iOS](https://docs.autlantic.com/api/ios) · [Android](https://docs.autlantic.com/api/android) | Native Checkout |\n| [Languages](https://docs.autlantic.com/guide/languages) | All SDK surfaces |\n| [Security](https://docs.autlantic.com/guide/security) | Secrets & threat model |\n\n## Develop\n\n```bash\ncd sdks/react-native\nnpm run typescript\n```\n\nMaintainer publish: see [`../PUBLISHING.md`](../PUBLISHING.md).\n\n## License\n\nMIT · Operated by **Autlantic Limited** (UK company no. 17422039).\n\nPart of [Autlantic Payments SDK](https://github.com/Autlantic/payments-sdk).\n","readmeFilename":"README.md","_rev":"1-6f390971c4157c81442c7b34b72c30c2"}