Notifications

Send a notification to authenticated user

Send a notification to the currently authenticated user. No additional permissions required beyond authentication.

post/api/v1/me/notifications

Request

  • Base URL: https://api-sandbox.koywe.com
  • URL: https://api-sandbox.koywe.com/api/v1/me/notifications
  • Auth: HTTP bearer

Request body

merchantIdstring

Merchant ID

typestring required

Notification type

messagestring required

Notification message

channelsstring[] required

Channels to send the notification through

dataobject

Additional data for the notification

Example request

{
  "merchantId": "mer_1234567890",
  "type": "payment_received",
  "message": "Payment of $100 received",
  "channels": [
    "email",
    "whatsapp"
  ],
  "data": {
    "amount": 100,
    "currency": "USD"
  }
}

Response

Notification has been queued for processing

statusstring

Operation status

Example response

{
  "status": "ok"
}

Changes

No recorded changes to this operation across all 1 revision of this API.