get
https://demo-api.edfapay.com/api/v1/merchant/
Get Merchant Details by MerchantId, ACCESS LEVEL: SUPER_ADMIN, PARTNER, MERCHANT
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
Retrieve details of a specific merchant.
Endpoint
GET https://demo-api.edfapay.com/api/v1/merchant/{id}
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| id | UUID | Yes | Merchant ID |
Response Body
| Field | Type | Description |
|---|---|---|
| code | Integer | Status |
| message | String | Message |
| data.id | UUID | Merchant ID |
| data.name | String | Name |
| data.nameAR | String | Arabic name |
| data.emailAddress | String | |
| data.registeredMobileNumber | String | Phone |
| data.businessUnitId | UUID | Business unit |
| data.countryCode | String | Country |
| data.cityId | Integer | City |
| data.status | String | Status |
| data.active | Boolean | Active |
Response Example
{
"code": 200,
"message": "Success",
"data": {
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Test Merchant",
"nameAR": "تاجر",
"emailAddress": "[email protected]",
"registeredMobileNumber": "+966-500000000",
"businessUnitId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"countryCode": "682",
"cityId": 7,
"status": "ACTIVE",
"active": true
}
}