Webhooks > Notification

When a text message or email fails to be delivered or when a customer clicks on a payment link, the webhook will be called and the following data format will be POSTED to the provided webhook URL.

Succès Webhook Payload - Notification
			
				{
  "action": "notification",
  "data": {
    "site": {
      "external_id": "65523213",
      "merchant_id": "123123123123"
    },
    "invoice": {
      "external_id": "39772634"
    },
    "message": "Customer clicked link via text message",
    "error": false
  }
}
			
		
Échec de la charge utile du webhook - Notification
			
				{
  "action": "notification",
  "data": {
    "site": {
      "external_id": "65523213",
      "merchant_id": "123123123123"
    },
    "invoice": {
      "external_id": "39772634"
    },
    "message": "Text to 18001231245 failed",
    "error": true
  }
}