Get information on an existing Merchant Site

You can get information on the existing sites by performing an action based on GET HTTP request, using some filters in the query string.

The method below returns more information about the specified merchant site, using the SiteID API Key in the request.

Definition:GET /v1/merchantsites/{id}

Where:
  • {id} – Merchant Site ID

Request:

GET https://paytest.smart2pay.com/v1/merchantsites/43078
Authorization: Basic NDMwNzg6UjZvalBYQ1JjTnZBcHRtMEd1UTVtYXYrZzRwbTN5aFE3QWtwYjNENWQrZlRBVmNUZjA

Response:

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


{
  "MerchantSite": {
    "MerchantID": 1045,
    "ID": 43078,
    "Created": "20180104161226",
    "URL": "http://www.testupdate.com",
    "Active": true,
    "NotificationURL": "http://www.test.com/notifications_update.node",
    "ApiKey": "R6ojPXCRcNvAptm0GuQ5mav+g4pm3yhQ7Akpb3D5d+fTAVcTf0",
    "Alias": "Test website_1 update",
    "IPList": "82.208.151.136",
    "Details": {
      "Reasons": null,
      "Name": "Stichting Smart2Pay update",
      "Country": "NL",
      "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",
      "MCC": "7995",
      "MainBusiness": "gaming"
    }
  }
}