getDeeplinkStatus static method
Returns a JSON response or if an error occurred will be throw exception. Merchant can check deeplink payment status for each specific payment code.
merchantId
(Required) - Merchant IDmerchantReference
(Conditional) - Optional if 'paymentCode' is presented and vice versa.paymentCode
(Conditional) - Optional if 'merchantReference' is presented and vice versa.
Implementation
static Future<GetDeeplinkStatusResponse> getDeeplinkStatus({
String merchantId = '',
String paymentCode = '',
String merchantReference = '',
}) async {
var result = await _channel.invokeMethod('getDeeplinkStatus', {
'merchantId': merchantId,
'paymentCode': paymentCode,
'merchantReference': merchantReference,
});
return GetDeeplinkStatusResponse.fromJson(result);
}