PUT
/
v1
/
notifications
curl --request PUT \
  --url https://api.sandbox.hit-pay.com/v1/notifications \
  --header 'Content-Type: application/json' \
  --header 'X-BUSINESS-API-KEY: <x-business-api-key>' \
  --data '{
  "customer_receipt@email": true,
  "daily_collection@email": true,
  "daily_collection@push_notification": true,
  "daily_payout@email": true,
  "incoming_payment@email": true,
  "incoming_payment@push_notification": true,
  "new_order@email": true,
  "new_order@push_notification": true,
  "pending_order@email": true,
  "mall_gto_sync@email": true
}'
[
  {
    "event": "customer_receipt",
    "channel": "email"
  },
  {
    "event": "daily_collection",
    "channel": "email"
  },
  {
    "event": "daily_collection",
    "channel": "push_notification"
  },
  {
    "event": "daily_payout",
    "channel": "email"
  },
  {
    "event": "incoming_payment",
    "channel": "email"
  },
  {
    "event": "incoming_payment",
    "channel": "push_notification"
  },
  {
    "event": "new_order",
    "channel": "email"
  },
  {
    "event": "new_order",
    "channel": "push_notification"
  }
]

Headers

X-BUSINESS-API-KEY
string
required

Body

application/json
customer_receipt@email
boolean
daily_collection@email
boolean
daily_collection@push_notification
boolean
daily_payout@email
boolean
incoming_payment@email
boolean
incoming_payment@push_notification
boolean
new_order@email
boolean
new_order@push_notification
boolean
pending_order@email
boolean
mall_gto_sync@email
boolean

Response

200 - application/json
200
event
string
required
channel
string
required