Sub merchant Created Event (sub_merchant.created)
This event will be triggered when a sub merchant is created.
Http Request Method
Method |
URI |
POST |
{event_url} |
Post Parameter
Parameter |
Description |
trigger_at |
Trigger time from Swipe |
event |
Event Name |
data |
Payload (might be differ by event) |
Post Request Body Sample
{
"trigger_at": "09-06-2022 03:25:22 pm",
"event": "sub_merchant.created",
"data": {
"id": 30,
"master_business_id": 1,
"name": "business name",
"master_business_type": null,
"business_status_id": 3,
"address_1": "address 1",
"address_2": "address 2",
"postcode": "99",
"city": "city",
"country_id": 160,
"state_id": 1,
"type_of_business_id": 1,
"ip_registration": "127.0.0.1",
"created_at": "2022-06-08T10:10:40.000000Z",
"updated_at": "2022-06-08T10:16:05.000000Z",
"submitted_at": "2022-06-08T00:00:00.000000Z",
"comment": null,
"merchant_type": "sub_merchant",
"hash": "0cf42631c062996f44aeb569870edee1b397a1cee06e3be40da255b9dd5a19e2"
}
}