POST api/Service/OmsPayFee?cookCode={cookCode}&custId={custId}&amount={amount}&payType={payType}&mchId={mchId}&contractId={contractId}&payMonth={payMonth}&userCode={userCode}&sign={sign}

【未使用】 OMS缴费,调微信和支付宝支付完成后回写到OMS

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cookCode

登录token

string

Required

custId

用户ID

string

Required

amount

整型,充值金额,单位为分,金额必须大于0

integer

Required

payType

付款方式:1表示微信支付,2表示支付宝支付,3表示银联支付

integer

Required

mchId

商户号

string

Required

contractId

合同主键

string

Required

payMonth

缴费周期

integer

Required

userCode

用户编号

string

Required

sign

签名,对CustID+Amount+PayType+MchID+ContractNo+PayMonth+UserCode+Key进行签名,Key由服务器颁发,此处使用的是私钥签名,签名算法参照文档1.3

string

Required

Body Parameters

None.

Response Information

Resource Description

RequestResult
NameDescriptionTypeAdditional information
ResultCode

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Message": "sample string 2",
  "Data": {}
}

text/html

Sample:
{"ResultCode":1,"Message":"sample string 2","Data":{}}

application/xml, text/xml

Sample:
<RequestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MF.Common">
  <Data />
  <Message>sample string 2</Message>
  <ResultCode>1</ResultCode>
</RequestResult>