cs.fin.gate
门禁判定。
- 请求路由:
cs.fin.gate- 交互模型:
Request Response- 访问限制: 无
请求
RSocket.rr({
"route" : "cs.fin.gate",
"data" : {
"replaceMe" : "门禁查询(含门禁类型、档号/客户、在途金额与币种)"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
type | String | 否 | 门禁类型 |
finJobId | String | 否 | 资金档号(CREDIT 以外的门禁需要) |
customerId | String | 否 | 客户 id(CREDIT 需要) |
amount | Number | 否 | 本次在途金额(本位币,CREDIT 需要) |
currency | String | 否 | 币种 |
返回
门禁判定结果(含是否放行、原因及额度可用情况)
{ }
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
type | String | 门禁类型 |
pass | Boolean | 是否放行 |
reason | String | 说明(阻断原因或放行依据) |
amount | Number | 相关金额明细(本位币),如未结余额、可用额度等 |
creditLimit | Number | 信用额度(本位币,仅 CREDIT 返回) |
used | Number | 已用额度(本位币,仅 CREDIT 返回) |
available | Number | 可用额度(本位币,仅 CREDIT 返回) |