This SDK is designed to allow the integration of KKiaPay into your Flutter mobile application. To set it up you will need to create an account on kkiapay.me platform and follow the process here describes :
Valid mobile money number to debit. ex : 22967434270
amount
Numeric
Yes
Amount to debit from user account (XOF)
name
String
No
Client firstname and lastname
partnerId
String
No
Your id to find transaction
countries
List of String
No
Set widget countries ex: ["CI"]
paymentMethods
List of String
No
Set widget payment methods ex: ["momo","card"]
theme
String
No
the hexadecimal code of the color you want to give to your widget
apikey
String
Yes
public api key
sandbox
Boolean
No
The true value of this attribute allows you to switch to test mode
successCallback
Function
Yes
This function is called once the payment has been successfully made
the successCallback function takes two parameters in the following order-Map<String,dynamic> containing the transaction information { 'requestData': {'amount':int,'phone':String,'reason':String,'data':String,'partnerId':String,'sandbox':bool,'name':String,'email':String },'transactionId':String, 'status':String }- the context of type BuildContext
For more informations on the SDK please follow the link below : KKiaPay Flutter SDK.