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
Example:

"b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d"

Body

application/json
customer_receipt@email
boolean
Example:

true

daily_collection@email
boolean
Example:

true

daily_collection@push_notification
boolean
Example:

true

daily_payout@email
boolean
Example:

true

incoming_payment@email
boolean
Example:

true

incoming_payment@push_notification
boolean
Example:

true

new_order@email
boolean
Example:

true

new_order@push_notification
boolean
Example:

true

pending_order@email
boolean
Example:

true

mall_gto_sync@email
boolean
Example:

true

Response

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