Skip to main content

Inttegro SDK for Android

Add Inttegro checkout to a Kotlin or Jetpack Compose app with a native Material payment sheet. The Android SDK owns the customer-facing payment flow; your backend continues to own credentials and every decision about the order.

Developer preview

The Android SDK is implemented and used by the React Native and Flutter bridges, but public Maven distribution is not open yet. The current preview supports mobile money checkout; card payments and Google Pay are not available.

Requirements

  • Android API 26 or later
  • A Kotlin application using Jetpack Compose
  • A backend endpoint that creates and finalizes an Inttegro order

The source project identifies the library as com.inttegro:inttegro-android. Until public Maven distribution opens, use the versioned source to evaluate the preview.

Present the payment sheet

Give the SDK only the finalized Order ID returned by your backend:

val configuration = PaymentSheetConfiguration(
orderId = orderId,
returnUrl = "merchant-app://inttegro-return",
)

InttegroPaymentSheet(
configuration = configuration,
onResult = ::handlePaymentResult,
onDismissRequest = ::closePaymentSheet,
)

InttegroPaymentSheet retrieves the checkout, presents available payment methods, collects any required mobile money details, handles confirmation or provider authorization, and returns a completed, canceled, or failed result.

React Native and Flutter use these same native payment sheets instead of reimplementing checkout. The Android robot is reproduced from work created and shared by Google and used according to the Creative Commons 3.0 Attribution License.

Verify before fulfillment

A completed result is useful for immediate app feedback. Your backend must still read the order's current state or process its webhook before releasing goods or services.

Continue