Android SDK · M-Pesa · Pay-per-view

Sell access to your content.
One composable/view.

MatchPass handles M-Pesa STK push payments, phone verification, pass issuing, and access control. Drop one composable in your Android app — your users pay, your content unlocks.

MainActivity.kt
MatchPassSDK.Paywall(
    content = MatchPassContent(
        id            = "arsenalmancity01jul26",
        title         = "Arsenal vs Manchester City",
        price         = "299",
        currency      = "KSh",
        durationHours = 4,
        contentType   = ContentType.MATCH,
    ),
    userPhone       = sessionPhone,
    onAccessGranted = { grant ->
        startStream(grant.token)
    },
    onDismiss = { showPaywall = false },
)
📱

M-Pesa STK Push

User receives a prompt on their phone. Enters PIN. Pass issued in seconds. No card details, no friction.

🔑

One composable

MatchPassSDK.Paywall() handles phone entry, OTP, payment, and pass issuing. Your code just responds to onAccessGranted.

📊

Operator dashboard

See revenue per content, active passes, and user activity. Revoke passes with one click.

🔄

Pass restore

Reinstalled? Switched devices? The SDK silently checks the server and restores valid passes — no re-purchase.

Content types

MATCH, CHANNEL, SEASON, or MOVIE. Each has the right cache TTL and pass label built in.

🛡

No pre-registration

Content records are created automatically on first purchase. Integrate now, add content IDs later.

Ready to integrate?

Register in 30 seconds. Your API key is generated instantly.

Create operator account →