update docs
Auto Tag on Version Change / check-version (push) Failing after 14m45s

This commit is contained in:
2026-05-30 19:33:15 +05:00
parent a5124096d7
commit 86e1e66a20
25 changed files with 1646 additions and 18 deletions
+24 -14
View File
@@ -32,19 +32,23 @@ curl --request GET \
## Responses
All responses wrap the result in a top-level `data` object.
### Success — Prepaid
```json
{
"custType": "PRE",
"msisdn": "9609654321"
"data": {
"custType": "PRE",
"msisdn": "9609654321"
}
}
```
| Field | Type | Description |
|---|---|---|
| `custType` | `string` | `"PRE"` = prepaid customer |
| `msisdn` | `string` | The MSISDN that was queried |
| `data.custType` | `string` | `"PRE"` = prepaid customer |
| `data.msisdn` | `string` | The MSISDN that was queried |
→ Offer **Raastas** top-up only.
@@ -54,8 +58,10 @@ curl --request GET \
```json
{
"custType": "POST",
"msisdn": "9609123456"
"data": {
"custType": "POST",
"msisdn": "9609123456"
}
}
```
@@ -67,8 +73,10 @@ curl --request GET \
```json
{
"custType": "HYBRID",
"msisdn": "9609789012"
"data": {
"custType": "HYBRID",
"msisdn": "9609789012"
}
}
```
@@ -80,18 +88,20 @@ curl --request GET \
```json
{
"custType": null,
"errorMessage": "Data Not Found",
"msisdn": "9609000000"
"data": {
"custType": null,
"errorMessage": "Data Not Found",
"msisdn": "9609000000"
}
}
```
| Field | Type | Description |
|---|---|---|
| `custType` | `null` | Number is not an Ooredoo subscriber |
| `errorMessage` | `string` | `"Data Not Found"` |
| `data.custType` | `null` | Number is not an Ooredoo subscriber |
| `data.errorMessage` | `string` | `"Data Not Found"` |
Treat `custType: null` as unsupported — fall back to Dhiraagu lookup.
Treat `custType: null` or absent as unsupported — fall back to Dhiraagu lookup.
---