Handle Pdfmonkey Webhook

Handles the rendered-document webhook from either PDF provider (PDFMonkey or caresquare-pdf-generation) and records the result on the remittance.

Uses the async Supabase client so a batch of deliveries does not block the worker's event loop. The synchronous client would stall every other request on this worker for the duration of each update, which is noticeable when a large ABA run delivers hundreds of webhooks at once.

post/api/v1/remittance/pdfmonkey/webhook

Request

  • Base URL
    https://api.caresquare.com.au (the document declares no server; this is the origin it was published from)
  • URL
    https://api.caresquare.com.au/api/v1/remittance/pdfmonkey/webhook
  • Auth
    none declared

Response

Successful Response

object[] required

Changes

No recorded changes to this operation across all 19 revisions of this API.