Cash Collection Locations
Look up the governorates, districts, and shops where a beneficiary can collect a cash-collection transfer in Lebanon.
Two read-only lookups on the Whish Money network. When you send a transfer in Cash Collection mode, the receiver picks up the funds at one of these shops, either a Whish Money branch or a partner agent. Use these endpoints to show the receiver where they can collect.
Authentication & headers
Both endpoints use the same credentials as the rest of the Whish Money network, sent as HTTP headers. These are read-only GET lookups, so no request body is sent.
| Header | Value | Description |
|---|---|---|
username | - | Account username, provided by Whish Money. |
key | - | Secret API key, provided by Whish Money. |
Accept | application/json | Requests the JSON response. |
Request-id | - | Required on every request. Unique numeric request identifier generated by your account (the API accepts numeric values only). |
Environments
Whish Money provides two isolated environments. Validate against Sandbox before requesting Production access.
| Environment | Base URL | Purpose |
|---|---|---|
| Sandbox | https://sandbox.woocash.money/api | Testing, QA, and integration verification. |
| Production | https://api.woocash.money | Live environment for real users. |
The cURL examples on this page target Sandbox. To go live, swap the host for the Production base URL above.
Building a request URL
Each endpoint path in this reference begins with /api/…. Append the endpoint path to the environment base URL. Note that the Sandbox base URL already ends in /api, so the full Sandbox URL contains /api/api/….
For the example endpoint GET /api/shops:
| Environment | Full URL |
|---|---|
| Sandbox | https://sandbox.woocash.money/api/api/shops |
| Production | https://api.woocash.money/api/shops |
The two environments use different base-URL conventions. Sandbox includes a trailing /api segment while Production does not. Construct URLs by concatenating the base URL and the endpoint path exactly as shown above, rather than assuming both environments share the same prefix. Endpoint sections below list the path only.
Response format
Both endpoints return HTTP 200 with Content-Type: application/json and the shared envelope. Branch on the status field in the body, never on the HTTP status code.
| Field | Type | Description |
|---|---|---|
status | Boolean | true when the call succeeded, false when it did not. |
code | String | null on success; an error code when status is false. |
dialog | Object | Optional title / message for display; usually null. |
data | Array | The list the endpoint returns: shops or governorates. Empty array when nothing matches. |
actions / extra | Object | Reserved; typically null. |
Data models
Shop
A collection point, returned by List shops.
| Field | Type | Description |
|---|---|---|
id | Long | Shop id. |
name | String | Shop name. |
phone | String | Shop phone number. |
address | String | Address description. |
latitude | Double | Shop latitude. |
longitude | Double | Shop longitude. |
url | String | Link to the shop details page. |
type | String | Whish Money Branches for a Whish Money branch, or Normal for a partner agent. |
Additional field returned (1)
| Field | Type | Description |
|---|---|---|
workingHours | String | Opening hours when the shop reports them; null otherwise. |
Governorate
A Lebanese governorate and its districts, returned by List governorates and districts.
| Field | Type | Description |
|---|---|---|
id | Long | Governorate id. Pass as governorateId to List shops. |
label | String | Governorate name. |
districts | Array | The districts in this governorate (District model below). |
District
| Field | Type | Description |
|---|---|---|
id | Long | District id. Pass as districtId to List shops. |
governorate | String | Governorate code, for example LB-BA. |
label | String | District name. |
List governorates and districts
Retrieve every governorate with its districts. Use the ids to build a location picker and to filter List shops.
curl 'https://sandbox.woocash.money/api/api/governorates' \
-H 'username: YOUR_USERNAME' \
-H 'key: YOUR_KEY' \
-H 'Accept: application/json' \
-H 'Request-id: 1720598400123'Request body: None. Parameters: None.
{
"status": true,
"code": null,
"dialog": null,
"extra": null,
"data": [
{
"id": 3,
"label": "Beirut",
"districts": [
{ "id": 4, "governorate": "LB-BA", "label": "Beirut" }
]
},
{
"id": 5,
"label": "Mount Lebanon",
"districts": [
{ "id": 9, "governorate": "LB-JL", "label": "Baabda" },
{ "id": 13, "governorate": "LB-JL", "label": "Matn" }
]
}
]
}The full set is listed under Governorates & districts. Pull the live values from this endpoint rather than hard-coding them.
List shops
Retrieve the collection points where a beneficiary can pick up funds. Each shop is a Whish Money branch (type: "Whish Money Branches") or a partner agent (type: "Normal").
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
governorateId | Long | Optional | Restrict results to this governorate (see List governorates and districts). |
districtId | Long | Optional | Restrict results to this district. |
Omit both to return all shops; pass either or both to narrow the list to an area.
curl 'https://sandbox.woocash.money/api/api/shops?governorateId=3&districtId=4' \
-H 'username: YOUR_USERNAME' \
-H 'key: YOUR_KEY' \
-H 'Accept: application/json' \
-H 'Request-id: 1720598400123'{
"status": true,
"code": null,
"dialog": null,
"extra": null,
"data": [
{
"id": 2,
"name": "TALACO - RAOUCHE",
"address": "Beirut, Beirut, Raouche, Australia, Alyaa Bld",
"phone": "+961 1 809 555",
"latitude": 33.88784,
"longitude": 35.475079,
"workingHours": null,
"url": "https://whish.money/branch.php?id=2pkl1154715079",
"type": "Whish Money Branches"
},
{
"id": 118,
"name": "BAGHDADI TRADING EST",
"address": "Beirut, Beirut, Hamra, Liion Street, Al Chaikha Resto",
"phone": "+961 1 345 312",
"latitude": 33.901352,
"longitude": 35.492748,
"workingHours": null,
"url": "https://whish.money/branch.php?id=76pkl1187033986",
"type": "Normal"
}
]
}Governorates & districts
The full set returned by List governorates and districts, for reference. Always pull live values from the endpoint; this table can change.
Show all governorates and districts (8)
| Gov. id | Governorate | Code | District ids | Districts |
|---|---|---|---|---|
| 1 | Akkar | LB-AK | 1 | Akkar |
| 2 | Baalbek-Hermel | LB-BH | 2, 3 | Baalbek, Hermel |
| 3 | Beirut | LB-BA | 4 | Beirut |
| 4 | Beqaa | LB-BI | 5, 6, 7 | Rashaya, Western Beqaa, Zahle |
| 5 | Mount Lebanon | LB-JL | 8–13 | Aley, Baabda, Chouf, Jbeil, Keserwan, Matn |
| 6 | Nabatieh | LB-NA | 14–17 | Bint Jbeil, Hasbaya, Marjeyoun, Nabatieh |
| 7 | North | LB-AS | 18–23 | Batroun, Bsharri, Koura, Miniyeh-Danniyeh, Tripoli, Zgharta |
| 8 | South | LB-JA | 24, 25, 26 | Sidon, Jezzine, Tyre |
Version history
Notable changes to this API and its reference, newest first.
| Version | Date | Change |
|---|---|---|
v1.0.0 | 2026-07-22 | Initial reference published: List governorates and districts, and List shops. |
Postman & tools
Import the ready-made Postman collection, set your username and key as collection variables (or attach a Sandbox / Production environment), and call both endpoints without writing code. Request-id auto-generates a unique numeric value per send.
Download collection OpenAPI spec All downloads & environments
In Postman: Import → select the file → choose the Sandbox or Production environment → fill in your credentials. Requests use {{baseUrl}} and the credential variables provided.