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

Update shop details

Use this request to change the merchant's shop details.

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/shops/{SHOP_ID}, where {SHOP_ID} is an identifier of the merchant's shop account in the system.

Parameter Type Description
shop object A section of the merchant's shop details.
id * required integer An identifier of the merchant's shop account.

Used to authorize merchant requests.
name * required string A name of the merchant's shop.
URL * required string An URL of the merchant's shop.
contact_email * required string An email of the merchant's shop.
Indicated as contact information in transaction receipts.
contact_phone * required string A phone number of the merchant's shop.

Indicated as contact information in transaction receipts.
secret_key * required string A secret key of the merchant's shop account.

Used to authorize merchant requests.
enabled * required boolean A status of the merchant's shop account.

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

Request example 

{
  "shop":{
    "name":"BMW750",
    "url":"http://bmw750.com",
    "contact_email":"bmw750@bmw.com",
    "contact_phone":"555444",
    "secret_key":"2b728085f755b83427cebe84cb1bb1c5560ef6eff4278d014e04d6b1d9854e7e",
    "enabled":true
  }
}

Response

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