Documentation
Everything you need to integrate BillDog into your mobile app
BillDog Auth
Sign users in — password, email or SMS code, Google and Apple, passkeys, second factors, organizations, SAML and OIDC — and read their entitlements from the session token instead of asking the API for them. A user is who signs in; a customer is what they own.
Supported across Web, iOS, Android, React Native, Expo, and Flutter SDKs, as well as server-side token verification on Node. Password reset is hosted-only on every platform.
Getting Started
Authentication
BillDog Auth
Sign-in, sessions and entitlements in one token
Auth Quick Start
Working sign-in, session and server-side verification in 15 minutes
Sessions & Tokens
Lifetimes, rotation with reuse detection, and where each token belongs
Identities & Identifiers
Email, phone and username sign-in, and the identifier_kind trap
Building a Sign-In Wall
Author hosted sign-in from four recipes, and serve it on your <name>.billdog.app address via the hosted placement
Auth Card Reference
Every property, the five steps, and where it renders
Hosted or SDK?
Which way to sign people in on each platform, and why
Passwords
Policy, the breach check, storage, and reset or change from every SDK
Passwordless
Email and SMS codes, the dialling-code allowlist and the spend cap
Google, Apple & Facebook Sign-In
Provider SDK or server-side PKCE redirect, the Apple signing key, second factors after a social sign-in, and account linking
Multi-Factor
TOTP, backup codes, the mandate, and why a wrong code is a restart
Passkeys
WebAuthn with Face ID, Touch ID or a security key
Organizations
Teams, roles, invitations, domains and inherited entitlements
SAML Single Sign-On
Okta, Entra and any SAML 2.0 IdP — and the one signing setting that must be right
OIDC Single Sign-On
Custom OpenID Connect providers, discovery and domain routing
SCIM Provisioning
Sync users and groups from the directory, and map groups to roles
JWT Templates
Your own claims in the session token, and custom lifetimes
Verifying Tokens
Offline signature verification on your own server, and when to introspect
Auth Webhooks
Thirteen user, session and organization events, signed and retried
Migrating to BillDog
Import users from Clerk, Auth0 or Firebase — and who needs a reset
Security & Compliance
Enumeration, rate limits, credential storage, residency and erasure
Auth API Reference
Every endpoint, the envelope, and how each is authenticated
Auth Errors
What each code means, and the failures that return 200
Limits & Lifetimes
Token and code lifetimes, rate limits, lockout and caps
Core Concepts
Placements Guide
Control offerings by app location
WebView Preload Strategies
WebView preload strategies for fast paywall display
Render Modes
Choose between native, WebView, or intelligent render mode
Headless Paywalls (BYO-UI)
Build custom in-app paywall UI with native code while BillDog drives pricing and billing
Smart Caching
Intelligent caching strategies for offline-first paywalls
Audience Segmentation
Target different user groups with tailored paywalls
Virtual Currencies
In-app economies with token grants, debits, and tracking
Virtual Currencies Setup
Step-by-step setup for in-app currency systems
Variable System
Dynamic text substitution, localization keys, and built-in variables
What SDK do I need?
Billing & Paywalls
Full SDK Guide
Overview of Billing, Paywalls, Analytics, Messaging, and Surveys
Headless Paywalls (BYO-UI)
Custom UI in SwiftUI, Compose, React Native, Expo, Flutter, and Web
iOS SDK (Beta)
Swift and Objective-C integration guide
Android SDK (Beta)
Kotlin and Java integration guide
React Native SDK
Cross-platform React Native guide
Expo SDK
Expo with config plugin
Flutter SDK
Dart and Flutter integration guide
Web SDK
TypeScript/JavaScript for web apps
Web Checkout (Stripe)
Stripe-powered checkout for web and app-to-web flows
Web Redemption Links
Hand a web purchase to your app with a single-use token: deep link, QR code or code
WebView Native Bridge
WebView preload and bridge integration guide
Unity (Coming Soon)
Roadmap / RESTUnity SDK in the pipeline; use the Universal REST API today or join the waitlist
Kotlin Multiplatform (Coming Soon)
Roadmap / RESTKMP SDK in the pipeline; use the native SDKs or the Universal REST API today
Roku (Coming Soon)
Roadmap / RESTRoku SDK and Roku Pay support in the pipeline; use the Universal REST API today
Capacitor (Coming Soon)
Roadmap / RESTCapacitor SDK in the pipeline; use the Universal REST API today or join the waitlist
Analytics & Surveys
Engage SDK Guide
Overview of Surveys, Analytics, and Engagement
iOS Engagement
Analytics, Messaging, and Surveys library
Android Engagement
Analytics, Messaging, and Surveys BOM
Web SDK (Analytics/Surveys)
TypeScript/JavaScript for web apps
Universal REST API
Ingest analytics and query metrics from any engine or backend
Server SDKs Guide
Backend integration (9 languages)
Product Analytics
Client-side event capture, autocapture, identify, user properties, and direct ingest
Experiments & A/B Testing
Feature-flag-driven experiments with server-authoritative evaluation
Analytics & Reporting
Revenue & Subscription Metrics
What each of the 21 revenue reports counts, what it leaves out, and why two reports of the same thing disagree
Scheduled Data Exports
Send data to S3, GCS, Azure Blob or BigQuery on a schedule, with least-privilege credentials
The Lexicon
Your event and property catalog — which parts govern what you can query, and which are a private notebook
Web Analytics, Errors & Heatmaps
Three reports that only work once you turn capture on — what each number means, and how to tell sample data from your own
LLM Observability
Trace model calls, manage prompt versions, and read the cost and latency numbers correctly
Insights, Boards & Alerts
Saving a report, assembling boards, alerting on a metric — what carries across each step and what gets dropped
Messaging & Survey Analytics
The nine messaging and six survey reports — one shared definition, which rates only email can produce, and three reports that measure something other than their title
Session Replay
Record and replay real user sessions on web, iOS and Android — masking on by default
Cohorts
Reusable saved audiences from event-frequency and property predicates
Funnels
Step-by-step conversion across up to eight events, and where users drop out
Retention & Stickiness
Who comes back, and how often — retention grids plus DAU/WAU/MAU
Predicted LTV
Forecast cohort lifetime value at 30/90/365 days from a fitted retention curve
Group Analytics
Analyse B2B usage by company, workspace or team instead of by user
MCP Server
Query your analytics in plain language from Claude, Cursor or any MCP client
Integrations
Superwall Integration
Superwall paywalls with BillDog purchases, receipts and entitlements (Android & React Native; iOS & Flutter coming soon)
RevenueCat Integration
Import RevenueCat data today; RevenueCat purchase bridge coming soon
Adapty Integration
Import Adapty data and keep Adapty purchasing behind BillDog paywalls; Adapty bridge coming soon
Paywalls + RevenueCat & Adapty
Add BillDog paywalls on top of an existing RevenueCat or Adapty stack — no migration
Attribution Integrations
Store 20 attribution & analytics provider IDs on the customer; Adjust forwarding
Apple Search Ads
Record the Search Ads campaign behind an install via AdServices (iOS)
Meta Ads (Facebook)
Store the Facebook anonymous ID and capture fbclid from deep links
Segment
Forward subscription events to Segment, keyed on your app user ID
PostHog
Send subscription events and revenue to PostHog
Braze
Send subscription events to Braze as custom events and purchases
Airbridge
Store the Airbridge device UUID on the customer (not sent to Airbridge)
Amplitude
Forward subscription events to Amplitude, keyed on your app user ID
Mixpanel
Forward subscription events to Mixpanel, keyed on your app user ID
Slack
Post new subscriptions, renewals, churn and failed payments to a channel
SendGrid
BillDog emails your customers through your SendGrid account on lifecycle events
Stripe Integration
Web checkout with Stripe payments
Analytics & Attribution Pipeline
What BillDog sends to your analytics and messaging tools today
Adjust
Store the Adjust ID on the BillDog customer (not sent to Adjust)
AppsFlyer
Store the AppsFlyer ID; the AppsFlyer connector sends revenue events with it
Branch
Store the Branch ID on the BillDog customer (not sent to Branch)
Singular
Store the Singular ID on the BillDog customer (not sent to Singular)
Tenjin
Store the Tenjin ID on the BillDog customer (not sent to Tenjin)
Kochava
Store the Kochava ID on the BillDog customer (not sent to Kochava)
mParticle
Store the mParticle ID on the BillDog customer (not sent to mParticle)
OneSignal ID
Store the OneSignal ID on the BillDog customer (not sent to OneSignal)
CleverTap ID
Store the CleverTap ID on the BillDog customer (not sent to CleverTap)
Iterable ID
Store the Iterable ID on the BillDog customer (not sent to Iterable)
Airship ID
Store the Airship ID on the BillDog customer (not sent to Airship)
MoEngage ID
Store the MoEngage ID on the BillDog customer (not sent to MoEngage)
Store Setup
Apple App Store Setup
Complete App Store Connect integration guide
Google Play Store Setup
Complete Google Play Console integration guide
12-Month Commitment Plans
Apple's monthly billing with a 12-month commitment, and Play installment plans
Amazon Appstore Setup (Coming Soon)
Roadmap / RESTAmazon Appstore purchases are not supported yet
Roku Channel Store Setup (Coming Soon)
Roadmap / RESTRoku Pay purchases are not supported yet
Apple App Store Privacy Details
Nutrition labels, data collection declarations, and tracking transparency questionnaire
Paywall Builder
Paywall Builder Guide
Complete guide to the visual paywall editor and all 20 modules
Device Layouts
Separate layouts for phones, tablets and desktop in portrait and landscape, and which SDKs use them
Paywall Display Settings
Full screen, sheet, popup, drawer or push, dismissal rules and game controllers
Paywall Settings, Products & Audience
Identifier, intro and promo offers, the offering, and who is served the paywall
Multi-Screen Funnels
Several screens connected in a Flow Graph, with conditions and splits
Preview & Publishing
Validation, share links, publishing, unpublishing and version history
Subscription Management & Retention
Build a manage-subscription screen with store hand-off, refunds (iOS), plan changes and exit surveys
Component Reference
All 68 component types with properties, use cases, and tips
Paywall Localization
Translate paywalls into any locale with dynamic variables protected from the translator
Features
Messaging Channels
Push, email, SMS, in-app and Live Activities — what each needs, and which providers cannot send
Trial Reminder Notifications
Re-engage trial users with local and push notifications
App Review Request
Request in-app reviews from users with native integration
Review Analytics
Track and analyse in-app review request performance
Smart Review Timing
Optimise review request timing with behaviour-based logic
Feature Flags
Ship dark, roll out by percentage, and deliver remote JSON config without a release
Compliance
GDPR, data handling, and store compliance guidance
Custom Purchases
Route purchases through RevenueCat, Stripe, or any custom billing stack via PurchaseController & CustomProduct
Paywalls + RevenueCat & Adapty (10 min)
Add BillDog paywalls on top of an existing RevenueCat or Adapty stack — no migration
Self-Hosted Proxy
Route SDK traffic through your own infrastructure with setProxyURL
Surveys
In-app and web-embeddable surveys with custom triggers and WebView rendering
Creating Surveys
Build surveys in the dashboard: templates, question types, theming, logic, and scheduling
Survey Targeting
URL, audience, and feature-flag display conditions with sampling and wait periods
Survey Results
Completion rates, per-question analysis, sentiment, funnels, and variant comparison
Account & Billing
Reference
API Reference
Complete REST API documentation for all endpoints
Webhooks Reference
Incoming store notifications and outgoing event dispatch
Glossary
Definitions for every BillDog term
Troubleshooting
Common issues and fixes organized by category
Fixes
Tested fixes for store, SDK build, push and sign-in errors, searchable by the exact error text
Code Examples
Curated multi-language snippets for common patterns
xFlow Templating Reference
Complete language reference for tags, filters, operators, and expressions
Was this page helpful?
Or rate this page: