Sample Responses

Here are sample responses for merchant updates.

When merchant is created

{
    "module": "add",
    "triggered_at": "2022-04-21T05:24:39.552Z",
    "type": "merchant",
    "data": {
      "MerchantId": "e1d8f0b1-3afb-4f78-9a92-ac10bf7d196a",
      "Abn": "11623187986",
      "ModifiedOn": null,
      "CreatedOn": "2022-04-21T05:24:35.75Z",
      "Currency": null,
      "Description": "<p>This is test merchant for webhook add</p>\r\n",
      "GooglePlaceId": null,
      "IsActive": true,
      "MerchantCategory": "2",
      "MerchantCountry": "Australia",
      "MerchantCountryCode": null,
      "MID": "12345678",
      "MerchantName": "B & E Co Pty Ltd",
      "Postcode": null,
      "State": null,
      "Suburb": null,      
      "Website": "",
      "Logo": null,
      "Banners": null,
      "Locations": null
    }
  }

When merchant is updated

{
    "module": "update",
    "triggered_at": "2022-04-21T05:26:27.544Z",
    "type": "merchant",
    "data": {
      "MerchantId": "e1d8f0b1-3afb-4f78-9a92-ac10bf7d196a",
      "Abn": "11623187986",
      "ModifiedOn": null,
      "CreatedOn": "2022-04-21T05:24:35.75Z",
      "Currency": null,
      "Description": "<p>This is test merchant for webhook updated</p>\r\n",
      "GooglePlaceId": null,
      "IsActive": true,
      "MerchantCategory": "2",
      "MerchantCountry": "Australia",
      "MerchantCountryCode": null,
      "MID": "12345678",
      "MerchantName": "B & E Co Pty Ltd",
      "Postcode": null,
      "State": null,
      "Suburb": null,      
      "Website": "",
      "Logo": null,
      "Banners": null,
      "Locations": null
    }
  }