Skip to content
English
  • There are no suggestions because the search field is empty.

Update a merchant account

Use this request to update details of a merchant account registered in your instance if the beGateway payment processing system.

Request

The requests must:

  • use HTTP Basic authentication with x as a username and your PSP secret key as a password;
  • have a body with parameters in the JSON or XML formats, or as an HTML form data;
  • have the Content-Type header set to application/json or application/xml depending on the request body format;
  • have the Accept header set to application/json or application/xml depending on the preferred response format;
  • be UTF-8 encoded.

Send a PUT request to {YOUR_BACKOFFICE_URL}/api/merchants/{MERCHANT_ID}, where {MERCHANT_ID} is an identifier of the merchant account in the system.

Parameter Type Description
merchant object A section of the merchant account details.
name * required string A name of the merchant.
email * required string An email of the merchant.

Used as a login to the system back office.
enabled * required string A status of the merchant account.

Possible values:
true, if the account is active;
false, if the account is inactive.

Request example

{
  "merchant":
  {
    "name":"John Doe",
    "email":"john@example.com",
    "enabled":false
  }
}

Response

You will get the 204 HTTP response code if your request was processed successfully