@setu/upi-deep-links
Advanced tools
Comparing version 1.2.2 to 1.2.3
{ | ||
"name": "@setu/upi-deep-links", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "NPM package to connect to Setu's UPI Deep Link APIs", | ||
@@ -5,0 +5,0 @@ "main": "src/setu.js", |
@@ -16,5 +16,6 @@ const productionUrl = 'https://prod.setu.co/api'; | ||
'mock-payment': url + '/triggers/funds/addCredit', | ||
'retreive-reports': url + '/reports' | ||
'retreive-reports': url + '/reports', | ||
'bill-expiry': url + '/utilities/bills', | ||
}; | ||
} | ||
}; |
@@ -55,2 +55,11 @@ // Required helpers | ||
setBillExpiry(platformBillID = null) { | ||
if (this.checkIfValuesExist() && !!platformBillID) { | ||
return requestHelper.post( | ||
this.endpoints['bill-expiry'] + `/${platformBillID}/expire`, | ||
this.secrets | ||
); | ||
} | ||
}; | ||
checkPaymentStatus(platformBillID = null) { | ||
@@ -57,0 +66,0 @@ if (this.checkIfValuesExist() && !!platformBillID) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11845
249