When a Lender Policy file is uploaded to a Transaction, all Callback URLs will receive the following POST payload.

Note that a New Document Uploaded payload is also sent for this event.

{ 
  event: "policy_issued",
  timestamp: 1619448709, 
  payload: { 
    order_id: "cbd2e6ed-9918-4aca-ac19-f7118bba0d4c", 
    policy_document: {
        "id": 12561,
        "type": "Full Lender Policy",
        "name": "Full Lender Policy",
        "file_name": "1619470857test-document-upload.pdf",
        "download_url": "http://localhost:4125/storage/documents/transaction-shelf/12553/1619470857test-document-upload.pdf",
        "uploaded_at": "2021-01-31 00:00:00"
    },
  }
}