Get information on an existing Website

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/30201
Authorization: Basic MzAyMDE6aEo1Um9iWXg5cjdGZk53Q3ZIWTlMWEhxcXIrRkV6cmM3YUp2UVFrNEdhejFtZzdSeXk=

Response:

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

{
  "MerchantSite": {
    "ID": 30201,
    "Created": "20150810112141",
    "URL": "http://docs.smart2pay.com",
    "Active": true,
    "NotificationURL": "https://docs.smart2pay.com/wp-content/plugins/smart2pay-api/router.php?s2pfunction=notification_url",
    "ApiKey": "hJ5RobYx9r7FfNwCvHY9LXHqqr+FEzrc7aJvQQk4Gaz1mg7Ryy",
    "Alias": "docs.smart2pay.com",
    "IPList": "",
    "Details": {
      "Reasons": null,
      "Name": "Stichting Smart2Pay update",
      "Country": "NL",
      "City": "Warsaw update",
      "Email": "test_test@test.com",
      "Address": "BRINK 27C update",
      "BankName": "ING",
      "AccountIBAN": "PL641050008610000023537933350",
      "AccountSWIFT": "1000002353794650",
      "BankSWIFTID": "ABNDDEFFXXX",
      "BankCode": "BTRLRO22",
      "VATNumber": "34206701",
      "RegistrationNumber": "NL 813236460B01"
    }
  }
}