PATCH
/
partners
/
merchants
/
{merchant_id}
/
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

Response

200
application/json

Merchant updated successfully.

The response is of type object.