forked from shihaam/thijooree
update docs
This commit is contained in:
@@ -29,8 +29,8 @@ POST https://fahipay.mv/api/app/login/
|
||||
| `device[available]` | `true` | See [common device fields](README.md#common-form-fields-device-info) |
|
||||
| `device[platform]` | `Android` | |
|
||||
| `device[uuid]` | `a1b2c3d4e5f60718` | Persistent 16-char hex UUID, generated once per install |
|
||||
| `device[model]` | `22101320I` | `Build.MODEL` |
|
||||
| `device[manufacturer]` | `Xiaomi` | `Build.MANUFACTURER` |
|
||||
| `device[model]` | `{model}` | `Build.MODEL` |
|
||||
| `device[manufacturer]` | `{manufacturer}` | `Build.MANUFACTURER` |
|
||||
| `device[isVirtual]` | `false` | |
|
||||
| `device[serial]` | `unknown` | |
|
||||
|
||||
@@ -47,7 +47,7 @@ curl --request POST \
|
||||
--header 'accept: application/json' \
|
||||
--header 'accept-encoding: gzip, deflate, br' \
|
||||
--header 'connection: keep-alive' \
|
||||
--header 'user-agent: Mozilla/5.0 (Linux; Android 14; 22101320I Build/AP2A.240905.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.70 Mobile Safari/537.36' \
|
||||
--header 'user-agent: Mozilla/5.0 (Linux; Android {version}; {model} Build/AP2A.240905.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.70 Mobile Safari/537.36' \
|
||||
--form 'email=A123456' \
|
||||
--form 'password=your_password' \
|
||||
--form 'grant_type=auth_id' \
|
||||
@@ -57,8 +57,8 @@ curl --request POST \
|
||||
--form 'device[available]=true' \
|
||||
--form 'device[platform]=Android' \
|
||||
--form 'device[uuid]=a1b2c3d4e5f60718' \
|
||||
--form 'device[model]=22101320I' \
|
||||
--form 'device[manufacturer]=Xiaomi' \
|
||||
--form 'device[model]={model}' \
|
||||
--form 'device[manufacturer]={manufacturer}' \
|
||||
--form 'device[isVirtual]=false' \
|
||||
--form 'device[serial]=unknown'
|
||||
```
|
||||
|
||||
@@ -38,8 +38,8 @@ POST https://fahipay.mv/api/app/otp/
|
||||
| `device[available]` | `true` | Same device fields as login — must match |
|
||||
| `device[platform]` | `Android` | |
|
||||
| `device[uuid]` | `a1b2c3d4e5f60718` | Must be the **same UUID** used in the login request |
|
||||
| `device[model]` | `22101320I` | |
|
||||
| `device[manufacturer]` | `Xiaomi` | |
|
||||
| `device[model]` | `{model}` | |
|
||||
| `device[manufacturer]` | `{manufacturer}` | |
|
||||
| `device[isVirtual]` | `false` | |
|
||||
| `device[serial]` | `unknown` | |
|
||||
|
||||
@@ -57,7 +57,7 @@ curl --request POST \
|
||||
--header 'accept: application/json' \
|
||||
--header 'accept-encoding: gzip, deflate, br' \
|
||||
--header 'connection: keep-alive' \
|
||||
--header 'user-agent: Mozilla/5.0 (Linux; Android 14; 22101320I Build/AP2A.240905.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.70 Mobile Safari/537.36' \
|
||||
--header 'user-agent: Mozilla/5.0 (Linux; Android {version}; {model} Build/AP2A.240905.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.70 Mobile Safari/537.36' \
|
||||
--form 'code=123456' \
|
||||
--form 'channel=totp' \
|
||||
--form 'action=login' \
|
||||
@@ -68,8 +68,8 @@ curl --request POST \
|
||||
--form 'device[available]=true' \
|
||||
--form 'device[platform]=Android' \
|
||||
--form 'device[uuid]=a1b2c3d4e5f60718' \
|
||||
--form 'device[model]=22101320I' \
|
||||
--form 'device[manufacturer]=Xiaomi' \
|
||||
--form 'device[model]={model}' \
|
||||
--form 'device[manufacturer]={manufacturer}' \
|
||||
--form 'device[isVirtual]=false' \
|
||||
--form 'device[serial]=unknown'
|
||||
```
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Fahipay API Documentation
|
||||
|
||||
Reverse-engineered from traffic captures of the Fahipay Android WebView app (`fahipay.mv`).
|
||||
Reverse-engineered from traffic captures of the Fahipay Android WebView app (`mv.fahipay`).
|
||||
|
||||
[Play Store](https://play.google.com/store/apps/details?id=mv.fahipay)
|
||||
|
||||
---
|
||||
|
||||
@@ -41,7 +43,7 @@ Content-Type: multipart/form-data; boundary=<boundary>
|
||||
accept: application/json
|
||||
accept-encoding: gzip, deflate, br
|
||||
connection: keep-alive
|
||||
user-agent: Mozilla/5.0 (Linux; Android 14; 22101320I Build/AP2A.240905.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.70 Mobile Safari/537.36
|
||||
user-agent: Mozilla/5.0 (Linux; Android {version}; {model} Build/AP2A.240905.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.70 Mobile Safari/537.36
|
||||
```
|
||||
|
||||
### Authenticated data endpoints
|
||||
@@ -64,8 +66,8 @@ All login and OTP requests include a standard set of device fields:
|
||||
| `device[available]` | `true` | Always `true` |
|
||||
| `device[platform]` | `Android` | Always `Android` |
|
||||
| `device[uuid]` | `a1b2c3d4e5f60718` | 16 hex chars, generated once per install, persisted |
|
||||
| `device[model]` | `22101320I` | Device model string |
|
||||
| `device[manufacturer]` | `Xiaomi` | Device manufacturer |
|
||||
| `device[model]` | `{model}` | Device model string |
|
||||
| `device[manufacturer]` | `{manufacturer}` | Device manufacturer |
|
||||
| `device[isVirtual]` | `false` | Always `false` |
|
||||
| `device[serial]` | `unknown` | Always `unknown` |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user