JustPaid Workflows
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

EventDescription
Invoice Payment Status ChangedAn invoice payment status changes
Invoice Status ChangedAn invoice status changes
Customer CreatedA customer is created
Contract CreatedA customer contract is created
Product CreatedA product is created
Product UpdatedA product is updated
Invoice CreatedAn invoice is created
Invoice UpdatedAn invoice is updated
Credit Memo CreatedA credit memo is created
Credit Memo UpdatedA credit memo is updated
Credit Memo Status ChangedA credit memo status changes

Setup

Configure loopfour-backend company webhooks to send signed HTTP POST requests to:

POST /webhooks/justpaid

Set 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.

On this page