Api extension

Api requests extension

on

Methods

deposit({required String phoneNumber, required String amount, required QosicNetwork network}) Future<String?>
Send money to the given phoneNumber
getPaymentStatus({required String transactionReference, required QosicNetwork network, required QosicCountry country}) Future<QosicStatus?>
Get the current status of a transaction given its transaferRef
pay({QosicCountry? country, required QosicNetwork network, required String phoneNumber, required String amount}) Future<String?>
Compute a simple ussd payment with Qos
refund({required String transactionReference, required QosicNetwork network, required QosicCountry country}) Future<bool>
Refund user money from transactionReference