Loans - Webhook Payload Documentation

This document outlines the structure and examples of the payloads received by key webhooks in the Kona Finance system.


Webhooks

Examples

Rejected Operation

{
  "created_at": "YYYY-MM-DDTHH:MM:SSZ",
  "event": "loan_status_changed",
  "payload": {
    "uuid": "<loan_uuid>",
    "status": "Loan Rejected"
  }
}

Pending Signature (Contract or CCB)

{
  "created_at": "YYYY-MM-DDTHH:MM:SSZ",
  "event": "loan_status_changed",
  "payload": {
    "uuid": "<loan_uuid>",
    "status": "Contract Sent",
    "signing_links_for_embedding": [
      {
        "name": "<signer_name>",
        "email": "<signer_email>",
        "link": "<signing_link>"
      }
    ]
  }
}

Signed (Contract or CCB)

{
  "created_at": "YYYY-MM-DDTHH:MM:SSZ",
  "event": "loan_status_changed",
  "payload": {
    "uuid": "<loan_uuid>",
    "status": "Signed"
  }
}

Loan Disbursed

{
  "created_at": "YYYY-MM-DDTHH:MM:SSZ",
  "event": "loan_status_changed",
  "payload": {
    "uuid": "<loan_uuid>",
    "status": "Disbursed",
    "loan_sc_id": "<loan_sc_id>",
    "payment_date" "ISO_timestamp"
  }
}