APIs for Businesses
Home
APIs
  • Checkout/ Deeplink
  • Merchant Proxy
  • Bill24 Hosted
  • Auto Direct Debit
  • KHQR Integration Specification for API
  • Notification API
  • On Boarding Sub Biller API
Home
APIs
  • Checkout/ Deeplink
  • Merchant Proxy
  • Bill24 Hosted
  • Auto Direct Debit
  • KHQR Integration Specification for API
  • Notification API
  • On Boarding Sub Biller API
CHECKOUT/ DEEPLINK
Merchant ProxyBill24 HostedAuto Direct DebitKHQR Integration Specification for APINotification APIPayment Method
CHECKOUT/ DEEPLINK
Merchant ProxyBill24 HostedAuto Direct DebitKHQR Integration Specification for APINotification APIPayment Method
  1. MOBILE SDKS
  • CHECKOUT/ DEEPLINK
    • Overview
    • Webhook
    • Full Example
    • FAQ
    • Flutter SDK
    • MOBILE SDKS
      • iOS SDK
      • Android SDK
    • WEB SDKS
      • Web SDK
    • Authorization
      POST
    • Transaction Initiation
      POST
    • Transaction Verification
      POST
    • Webhook
      POST
  1. MOBILE SDKS

Android SDK

Android SDK

Build payments into your Android mobile app.

The Bill24 Android SDK with Java and Kotlin helps you build customizable payments into your app. We provide powerful and customizable UI screens and allow your customer to make payment Easier and Faster.

 

1 How to integrate

Frist, you can get latest Bill24 package SDK as below:

implementation 'io.bill24:b24paymentsdk:1.1.23-beta.17'

 
Now you can access our function to initiate SDK.

To initiate SDK or load SDK you must use this class name B24PaymentSdk().intSdk

 
Parameters Request:

FieldTypeRemark
contextContext*key (context) that show bottomSheet
fragmentManagerFragmentManager*getSupportFragmentManager() (for Java)
supportFragmentManager (for kotlin)
tranIdString*Transaction number at Bill24 side
refererKeyString*Can be any key to identity the client side or referer URL
languageStringThe language to display
km : Khmer*(default)*
en : English
darkModeBooleanThe option display themes payment checkout
false : Theme Light (default)
true : Theme Dark
isProductionBooleanThe option for environment
false : For environment testing*(default)*
true : For environment production

Example code for Java:

B24PaymentSdk.intSdk(
    context, //context
    getSupportFragmentManager(), //fragmentManager
    "4614B5964908", //tranId
    "123X", // refererKey
    "km", // language
    false, // darkMode
    false, //isProduction
);

 
Example code for Kotlin:

B24PaymentSdk.intSdk(
    context, //context
    supportFragmentManager, //fragmentManager
    "4614B5964908", //tranId
    "123X", // refererKey
    "km", // language
    false, // darkMode
    false, //isProduction
);

 
Support Version:

VersionSDK/API Level
Android 7+Level 24.0

 

NOTE

To initiate SDK or load SDK you must provide tranId that you get from endpoint Transaction Initiation.

Previous
iOS SDK
Next
Web SDK