Integrate - Mobile


The Paze Button

Add the Paze® button to your app. The button is a pre-built component that launches the Paze checkout experience, providing a consistent, on-brand entry point that meets Paze design requirements. Display it on any screen where users can initiate payment, such as product detail, cart, or checkout.

This guide assumes the native mobile component dependencies are already added to your project. See the README included in the component package for initial setup instructions. Talk to your Paze implementation manager to get the native mobile component source files.

The button supports a fixed set of customization options to maintain Paze branding:


Mobile Platform

Select your Mobile platform for the button integration



Add the Button

PazeButton(
onClick = { viewModel.initiatePayment() },
modifier = Modifier.fillMaxWidth()
)
<com.paze.merchant.paze.button.xml.PazeButtonView
   android:id="@+id/pazeButton"
   android:layout_width="match_parent"
   android:layout_height="wrap_content" />

val pazeButton = findViewById<PazeButtonView>(R.id.pazeButton)
pazeButton.setOnClickListener { viewModel.initiatePayment() }

All implementations render the same button with identical visual output. Choose based on your platform and UI framework.


Attributes

AttributeTypeDefaultDescription
colorPazeButtonColorAUTOBackground color variant. See Color.
shapePazeButtonShapeDEFAULTCorner radius style. See Shape.
labelPazeButtonLabelCHECKOUT_WITHButton label text. See Labels.

Size

PropertyAndroid
Min width200dp
Min height48dp
Max height60dp

Android uses 48dp to meet platform touch target guidelines.


Color

Five color options control the button's background and content colors. Color and shape are independent, so any color works with any shape.

ValueBackgroundContent
Paze Blue#0F42F8White
WhiteWhitePaze Blue
White with OutlineWhite + #151B33 borderPaze Blue
Midnight Black#151B33White
AutoPaze Blue (light) / White (dark)Auto

Mobile defaults to AUTO, which resolves to Paze Blue in light mode and White in dark mode for accessible contrast without manual configuration.


PazeButton(
    onClick = { },
    color = PazeButtonColor.PAZE_BLUE,
    shape = PazeButtonShape.PILL
)
<PazeButtonView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:pazeColor="paze_blue"
    app:pazeShape="pill" />

// Set color and shape programmatically
pazeButton.applyColorAndShape(PazeButtonColor.PAZE_BLUE, PazeButtonShape.PILL)

Shape

Three corner radius options are available. Shape is independent of color.

ValueCorner Radius
Default4dp / 4pt
Rectangle0
Pill50% (fully rounded)

PazeButton(
    onClick = { },
    shape = PazeButtonShape.PILL
)
<PazeButtonView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:pazeShape="pill" />

// Or set programmatically
pazeButton.applyShape(PazeButtonShape.PILL)

Labels

Four label options are available on mobile. Each label renders as a single tinted image asset.

ValueAndroidiOSRenders As
Check out withCHECKOUT_WITH.checkoutWith"Check out with [Paze logo]"
Paze checkoutPAZE_CHECKOUT.pazeCheckout"[Paze logo] checkout"
Donate withDONATE_WITH.donateWith"Donate with [Paze logo]"
Logo onlyCHECKOUT.checkout[Paze logo]

Never use "Pay with Paze." The word "pay" cannot appear adjacent to "Paze."

Theme Detection

Mobile button components determine light or dark mode to resolve the AUTO color. By default, the button reads the device’s system theme to ensure appropriate contrast and accessibility.

If your app uses its own Light/Dark/System toggle or displays the button on custom backgrounds, you can override the theme detection so the button matches your app’s theme rather than the system setting.

If you explicitly choose a specific button color instead of using AUTO, you are responsible for ensuring the selected color remains accessible and meets contrast requirements in your UI.

Match Other Wallet Buttons

Give Paze equal size and visual weight to other digital wallet buttons on the same screen. Paze brand guidelines require parity with other digital wallets. Use identical width, height, and spacing for all wallet buttons on checkout screens.

Accessibility

The mobile button components include built-in accessibility support.


FeatureDetail
RoleSemantic Role.Button with content description from selected label (e.g., "Check out with Paze")
Touch target48dp minimum meets Material Design guidelines
LogoDecorative and excluded from TalkBack announcements

Resources