Update Merchant Status

Update merchant status

PATCH https://<PayEngine-host>/merchant/:merchantId/status

Update the status change for a merchant

Path Parameters

Name
Type
Description

merchant_id*

string

The ID of the merchant to get

Request Body

Name
Type
Description

status*

string

Status to be updated. Only the following status can be changed 1. Paused to Active 2. Active to Paused 3. Editing to Cancelled and Editing to Submitted-to-pe 4. In-review to Editing 5. In-review to Submitted-to-pe 6. In-review to Cancelled

message

string

Message

{
    "message": "merchant updated",
    "data": {
        "id": "fc545add-02ad-4481-8f6b-4421ac71ebea",
        "status": "submitted_to_pe",
        "processing_status": null,
        "is_sub_status_update": false,
        "is_primary_status_changed": true
    }
}

Sample Request

{
  "status": "submitted_to_pe",
  "message": "Submitted for review"
}

Last updated