{
  "createPayment": {
    "ik": "patient_deposit-1-v1",
    "ledgerIk": "healthcare-practice",
    "type": "patient_deposit",
    "typeVersion": 1,
    "parameters": {
      "appointment_id": "1",
      "amount": "10000"
    }
  },
  "addLedgerEntry": {
    "ik": "patient_deposit_apply-1-v1",
    "entry": {
      "ledger": {
        "ik": "healthcare-practice"
      },
      "type": "patient_deposit_apply",
      "typeVersion": 1,
      "parameters": {
        "appointment_id": "1",
        "amount": "7000"
      }
    }
  }
}
