Delete a Website

Definition: DELETE /v1/merchantsites/{id}

Where:
  • {id} – GlobalPay Website ID

You can delete a website by sending a DELETE action for an existing website for which there are not registered yet any payments.

Request:

DELETE https://paytest.smart2pay.com/v1/merchantsites/1000022
Authorization: Basic MTAwMDAyMjo0aGNjU2lMVjU2QlYwSWR1YUZ2Ynp2YUdFQWRHOEJodjIwaEFndjdrVE9aTmU0S0loQg==

Response:

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
  "MerchantSite": {
    "MerchantID": 1045,
    "ID": 1000022,
    "Created": "20160317115423",
    "URL": "http://www.testupdate.com",
    "Active": true,
    "NotificationURL": "http://www.test.com/notifications_update.node",
    "ApiKey": "4hccSiLV56BV0IduaFvbzvaGEAdG8Bhv20hAgv7kTOZNe4KIhB",
    "Alias": "Test website update_1000022",
    "IPList": "82.208.151.136",
    "Details": {
      "Reasons": null,
      "Name": "Stichting Smart2Pay update",
      "Country": "PL",
      "City": "Warsaw update",
      "Email": "test@test.com",
      "Address": "BRINK 27C update",
      "BankName": "ING",
      "AccountIBAN": "PL641050008610000023537933350",
      "AccountSWIFT": "1000002353794650",
      "BankSWIFTID": "ABNDDEFFXXX",
      "BankCode": "BTRLRO22",
      "VATNumber": "34206701",
      "RegistrationNumber": "NL 813236460B01"
    }
  }
}