业主账户预存(Owner Prestore Account)  
该接口用于业主向个人账户预存金额,支持不同账户类型(如物业费账户、水电表账户等),并记录交易明细和收款单。
POST http://{ip}:{port}/app/account.ownerPrestoreAccount
POST  
| 参数名称 | 必填 | 类型 | 描述 | 
|---|---|---|---|
Authorization | 
是 | String | 
用户认证 Token(Base Token) | 
app-id | 
是 | String | 
应用 ID(由系统分配) | 
transaction-id | 
是 | String | 
请求流水号(格式:1000000000+YYYYMMDDhhmmss+6位序列) | 
sign | 
是 | String | 
签名 | 
req-time | 
是 | String | 
请求时间(格式:YYYYMMDDhhmmss) | 
| 参数名称 | 必填 | 类型 | 描述 | 示例 | 
|---|---|---|---|---|
communityId | 
是 | String | 
小区 ID | "123456" | 
ownerId | 
是 | String | 
业主 ID | "1001" | 
amount | 
是 | String | 
预存金额(单位:元) | "500.00" | 
acctType | 
是 | String | 
账户类型(propertyFee:物业费账户,meter:水电表账户) | 
"propertyFee" | 
primeRate | 
是 | String | 
支付方式(如 cash、wechat、alipay) | 
"wechat" | 
roomId | 
条件必填 | String | 
房屋 ID(当 acctType 为 propertyFee 或 meter 时必填) | 
"R1001" | 
remark | 
否 | String | 
备注信息 | "业主预存物业费" | 
| 参数名称 | 类型 | 描述 | 
|---|---|---|
code | 
String | 
返回码(0 成功,非 0 失败) | 
msg | 
String | 
返回信息 | 
data | 
Object | 
返回数据(通常为空) | 
POST /account/ownerPrestoreAccount
Headers:
{
  "Authorization": "Bearer xxxxxx",
  "app-id": "app001",
  "transaction-id": "100000000020231201143000123456",
  "sign": "xxxxxx",
  "req-time": "20231201143000"
}
Body:
{
  "communityId": "123456",
  "ownerId": "1001",
  "amount": "500.00",
  "acctType": "propertyFee",
  "primeRate": "wechat",
  "roomId": "R1001",
  "remark": "业主预存物业费"
}
{
  "code": "0",
  "msg": "成功",
  "data": null
}
参数校验
communityId、ownerId、amount、acctType、primeRate)。  acctType 为物业费或水电表账户,则 roomId 必填。账户处理
AccountDetailPo)。收款单记录
AccountReceiptPo),记录支付方式、金额等信息。返回结果
code=0,失败抛出异常并返回错误信息。accountInnerServiceSMOImpl.queryAccounts(查询业主账户)  ownerInnerServiceSMOImpl.queryOwners(查询业主信息)  roomInnerServiceSMOImpl.queryRooms(查询房屋信息)accountInnerServiceSMOImpl.saveAccount(新增账户)  accountDetailInnerServiceSMOImpl.saveAccountDetails(记录交易明细)  accountReceiptV1InnerServiceSMOImpl.saveAccountReceipt(记录收款单)accountInnerServiceSMOImpl.prestoreAccount(更新账户余额)primeRate 需与系统支持的支付方式匹配。  以上为完整 API 文档,符合 RESTful 规范,涵盖请求、响应、业务逻辑及数据库操作说明。