Skip to main content
PATCH
/
partners
/
merchants
/
{merchant_id}
Update Merchant
curl --request PATCH \
  --url https://api-staging.eximpe.com/partners/merchants/{merchant_id}/ \
  --header 'Content-Type: application/json' \
  --header 'X-Client-ID: <api-key>' \
  --header 'X-Client-Secret: <api-key>' \
  --data '
{
  "company_details": {
    "website": "https://updated-website.com",
    "monthly_avg_transaction_value": "75000.00",
    "description_of_products_and_services": "Updated description of services"
  },
  "settlement_details": {
    "bank_account_number": "9876543210",
    "bank_account_name": "Updated Company Ltd"
  }
}
'
{
  "success": true,
  "message": "Merchant updated successfully",
  "data": {
    "merchant_id": "3604346598",
    "updated_fields": [
      "company_details",
      "settlement_details"
    ]
  }
}

Authorizations

X-Client-ID
string
header
required

Client app ID. You can find your app id in the merchant dashboard.

X-Client-Secret
string
header
required

Client secret key. You can find your secret in the merchant dashboard.

Path Parameters

merchant_id
string
required

The ID of the merchant to update.

Body

application/json

Merchant update request - only include fields to update

Request body for updating merchant - only include fields to update

company_details
object

Company details to update

settlement_details
object

Settlement details to update

Response

Merchant updated successfully.

success
boolean
required

Indicates if the request was successful

message
string
required

Response message

data
object
required

Contains the updated merchant fields