Package Created Event (package.created)


This event will be triggered when a package is created.

Http Request Method

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": "23-03-2022 06:58:01 pm",
  "event": "package.created",
  "data": {
    "name": "Package A",
    "description": "Package Description",
    "amount": 100,
    "frequency": "daily",
    "currency": "MYR",
    "business_id": 1,
    "status": "enable",
    "updated_at": "2022-03-23T10:58:01.494000Z",
    "created_at": "2022-03-23T10:58:01.494000Z",
    "_id": "623afd397a530597ff4c907d",
    "hash": "40e9cce335b57d97f9edb7b306135d337e88508320150195581988af890d331e"
  }
}