Compare commits
3 Commits
6759057875
...
1f20accdfb
Author | SHA1 | Date | |
---|---|---|---|
1f20accdfb
|
|||
227b5e9e58
|
|||
f43ec48fb1
|
@@ -2,6 +2,7 @@ USERNAME=
|
||||
PASSWORD=
|
||||
TOTP_SEED=
|
||||
|
||||
ACCOUNT_NUMBER=
|
||||
|
||||
#Cookie
|
||||
QL_0=
|
||||
|
@@ -1,7 +1,7 @@
|
||||
### Maldives Islamic Bank Payment Verification API
|
||||
|
||||
|
||||
This api will allow you to fetch customers payment and your MIB account history, it will match with transaction time, account owner name and amount. \
|
||||
This api will allow you to match customers payment and your MIB account history, it will match with transaction time, account owner name and amount. \
|
||||
but slight issue is that, MIB to MIB transaction sometimes have MIBs made-up name for the account owner name, This is challenging, so work around that, \
|
||||
I added option to send customers account number to fetch the made-up name and match with it. \
|
||||
(BML) Farava transations works perfectly with just the name! \
|
||||
@@ -11,7 +11,7 @@ It uses cookie from webssion to fetch everything, it also has a keepalive servic
|
||||
|
||||
1. Login to MIB web [https://faisanet.mib.com.mv/](https://faisanet.mib.com.mv/) and get the cookie:
|
||||

|
||||
2. copy .env.example to .env and fill `QL_0` and `IBSID` with contents from step 1.
|
||||
2. copy .env.example to .env and fill `QL_0` and `IBSID` with contents from step 1, Make sure to fill `ACCOUNT_NUMBER` with your account number.
|
||||
3. Create `compose.yml` with the follwing contents:
|
||||
```yaml
|
||||
services:
|
||||
|
2
tx.sh
2
tx.sh
@@ -4,5 +4,5 @@ source .env 2> /dev/null
|
||||
|
||||
curl 'https://faisanet.mib.com.mv/ajaxAccounts/trxHistory' \
|
||||
-H "cookie: ql_0=${QL_0}; IBSID=${IBSID}" \
|
||||
--data-raw 'accountNo=90101400028321000&trxNo=&trxType=0&sortTrx=date&sortDir=desc&fromDate=&toDate=&start=1&end=20&includeCount=1' -s \
|
||||
--data-raw "accountNo=${ACCOUNT_NUMBER}&trxNo=&trxType=0&sortTrx=date&sortDir=desc&fromDate=&toDate=&start=1&end=20&includeCount=1" -s \
|
||||
| sed 's/"benefName":"BML - /"benefName":"/g'
|
||||
|
Reference in New Issue
Block a user