Notifications
Update Notifications Setting
Guides
API References
- Payment Request
- Recurring Billing
- Charges
- Payout
- Account
- Orders
- Products
- Product Category
- Customers
- Staffs
- Invoice
- Webhook Events
- Static QR Codes
- Notifications
- Terminal
Notifications
Update Notifications Setting
Use this API to update the notification setting
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
Example:
"b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d"
Body
application/json
Response
200 - application/json
200
The response is of type object[]
.
Was this page helpful?
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"
}
]