Integrations

PhonePe Payment Notifications

Show a green, scrolling "+<amount>" notification on your WLED matrix the moment a PhonePe payment completes.

How it works

Set up a webhook in your PhonePe Business Dashboard (Developer Settings → Webhook) pointing at the URL below, then set up MQTT + a merchant ID for your device via Pipplee Desktop's Integrations → PhonePe card. When PhonePe sends a payment-completed event, we publish a notification straight to your device over MQTT.

Webhook URL

https://pipplee.com/api/v1/integrations/payments/phonepe/

Authentication

Only PhonePe's SHA-based webhook auth is currently supported: when creating the webhook, choose the username/password option (not HMAC/checksum). We verify the Authorization header as SHA256(username:password), checked against the username/password auto-generated for your device in Pipplee Desktop's PhonePe setup wizard - copy that pair into PhonePe's Business Dashboard when creating the webhook.

Payload

We read PhonePe's standard checkout.order.completed event. Only payload.state == "COMPLETED" triggers a notification - other states are received and logged, not treated as errors.

{
  "event": "checkout.order.completed",
  "payload": {
    "orderId": "...",
    "merchantId": "...",
    "state": "COMPLETED",
    "amount": 10000
  }
}

amount is in paise (10000 = ₹100.00) - PhonePe's own convention, converted to rupees for display.

Notes

  • merchantId is recorded for reference only - it does not need to match anything, since each Pipplee account currently supports one merchant/device mapping.
  • A repeated webhook for the same orderId is acknowledged but not re-published - PhonePe's own retry behavior doesn't trigger duplicate notifications.
  • The notification shows for about 15 seconds, then your device returns to its normal display.