Update exist Partner, ACCESS LEVEL: SUPER_ADMIN, PARTNER
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
This endpoint allows you to update partner details.
Endpoint
PUT https://demo-api.edfapay.com/api/v1/partner
Content-Type: application/json
Authentication
All requests to this endpoint must include a valid X-API-KEY in the request header for authentication. The X-API-KEY must be sent from the server side and should not be exposed on the client side.
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| id | Integer | Yes | Unique Partner ID from EdfaPay (UUID). |
| logo | Object | Optional | Logo file details. |
| name | String | Yes | Partner name in English. |
| nameAR | String | Yes | Partner name in Arabic. |
| emailAddress | String | Yes | Partner email address. |
| registeredMobileNumber | String | Yes | Partner mobile number (including country code). |
| address | String | Optional | Partner address. |
| domain | String | Yes | Partner Portal domain. |
| active | Boolean | Yes | Indicates whether the partner is active. |
| feeProfileId | Integer | Yes | Identifier of the associated fee profile. |
Logo Object
| Field | Type | Description |
|---|---|---|
| fileSize | Integer | Size of the file in bytes. |
| fileUrl | String | Public URL of the logo file. |
| fileName | String | Name of the uploaded file. |
How to get the
idCreate Partner API: After creating a partner, the
idis returned in the success response. 👉 Create Partner ResponsesSearch Partner API: After applying your search criteria, the
idis returned in the success response along with the details for each partner. 👉 Search Partner ResponsesEdfapay Dashboard: Go to the Partner page, click the Columns icon, and enable the id field from Hidden Attributes.
Where to find
feeProfileIdFrom the Edfapay Dashboard: Navigate to the Payout section, then open the Fee Profile page, and locate the
feeProfileIdunder the Id column.
Example Request
curl --location --request PUT 'https://demo-api.edfapay.com/api/v1/partner' \
--header 'X-API-KEY: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Partner Name",
"nameAR": "بارتنر",
"emailAddress": "[email protected]",
"registeredMobileNumber": "+0-619471208697",
"active": true,
"feeProfileId": 1
}'Example Responses
{
"code": 200,
"message": "Success",
"errorCode": null,
"data": {
"code": 200,
"message": "Success",
"errorCode": null,
"data": {
"createdBy": "[email protected]",
"createdTimestamp": "2026-04-21T00:14:28.051183404Z",
"updatedBy": "[email protected]",
"updatedTimestamp": "2026-04-21T00:14:28.051058644Z",
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Partner Name",
"nameAR": "بارتنر",
"address": null,
"status": "ACTIVE",
"logo": null,
"deleted": false,
"emailAddress": "[email protected]",
"registeredMobileNumber": "+0-619471208697",
"businessUnitId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"active": true,
"domain": "google.com",
"feeProfileId": 1
}
}
}{
"code": 404,
"message": "Entity Partner not found for fields [id] and values [xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx]",
"errorCode": "404",
"data": null
}Important Notes
name,emailAddress, andregisteredMobileNumbermust be unique and must not have been used previously.