Triggers
JustPaid
Trigger workflows on JustPaid webhook events
JustPaid
Trigger workflows automatically when loopfour-backend emits JustPaid webhook events. The supported event catalog is aligned to CompanyWebhook.WebhookType and EVENT_TYPE_MAP in loopfour-backend.
Events
| Event | Description |
|---|---|
| Invoice Payment Status Changed | An invoice payment status changes |
| Invoice Status Changed | An invoice status changes |
| Customer Created | A customer is created |
| Contract Created | A customer contract is created |
| Product Created | A product is created |
| Product Updated | A product is updated |
| Invoice Created | An invoice is created |
| Invoice Updated | An invoice is updated |
| Credit Memo Created | A credit memo is created |
| Credit Memo Updated | A credit memo is updated |
| Credit Memo Status Changed | A credit memo status changes |
Setup
Configure loopfour-backend company webhooks to send signed HTTP POST requests to:
POST /webhooks/justpaidSet JUSTPAID_WEBHOOK_SECRET to the same signing secret configured for the backend webhook. Incoming webhooks are verified with the backend's X-JustPaid-Timestamp and X-JustPaid-Signature headers.