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/ DEEPLINKMerchant ProxyBill24 HostedAuto Direct Debit
KHQR Integration Specification for APINotification APIPayment Method
CHECKOUT/ DEEPLINKMerchant ProxyBill24 HostedAuto Direct Debit
KHQR Integration Specification for APINotification APIPayment Method
  1. MOBILE SDKS
  • Auto Direct Debit
    • Overview
    • FAQ
    • MOBILE SDKS
      • Flutter SDK
    • WEB SDKS
      • Web SDK
    • Authorization
      POST
    • Init Subscription
      POST
    • Inquiry Consumer validate
      POST
    • Consumer's Debt Update
      POST
    • Inquiry Consumer Debt
      POST
  1. MOBILE SDKS

Flutter SDK

Flutter SDK#

Enable Subscribe Direct Debit into your iOS/Android mobile app with Flutter.
The Bill24 iOS/Android SDK with Flutter helps you build customizable to enable subscirbe direct debit from your Apps. 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 Bill24 package SDK from Pub.dev, please check the latest version.
Add dependency to your Flutter project Pubspec.yamlcheck latest version.

Or run this command:

And you can import the package:

Now you can access our function to initiate SDK.
To initiate SDK or load SDK you must use this class name B24DirectDebitSdk.initSdk

Parameters Request:
FieldTypeRemark
contextContext*key (context) current text to open BottomSheet
subscriptionNoString*Subscription 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:
 
Grant Permission for iOS
Add configuration to open Deeplink Info.plist
<key>LSApplicationQueriesSchemes</key>
<array>
  <string>https</string>
  <string>http</string>
</array>
 
Grant Permission for Android
Add configuration to open Deeplink AndroidManifest
<uses-permission android:name="android.permission.INTERNET" />
<queries>
    <intent>
        <action android:name="android.intent.action.VIEW"/>
        <data android:scheme="https" />
    </intent>
    <intent>
        <action android:name="android.intent.action.VIEW"/>
        <data android:scheme="http" />
    </intent>
</queries>
 
Support Version:
Dart SDK:^3.5.x
Flutter SDK: >=1.17.0
iOS minimun version 13.0
Android minimun version 5.0 | API level : 21
 
NOTE
Use this endpoint to Init Subscription.
Previous
FAQ
Next
Web SDK