跳至主要內容

支付信息

Alex大约 52 分钟开发文档API接口文档

支付信息

账户收支明细

GET 交易明细表

GET /front/pay/consumeRecord/list

交易明细表

请求参数

名称位置类型必选说明
chainIdqueryinteger所属门店
changeTypequeryinteger支出收入:1-支出;2-收入
consumeRecordIdqueryinteger支付流水号
createTimeEndquerystring创建时间结束值
createTimeStartquerystring创建时间起始值
currencyIdqueryinteger货币编号
currencySymbolLeftquerystring左符号
like[0].columnquerystring搜索字段
like[0].likequerystring搜索字符
orderIdquerystring商户订单编号
order[0].sidxquerystring排序字段
order[0].sortquerystring排序方式
pagequeryinteger分页查询页码
paymentChannelIdqueryinteger支付渠道
paymentMetIdqueryinteger消费类型(ENUM):1-余额支付; 2-充值卡支付; 3-积分支付; 4-信用支付; 5-红包支付
paymentTypeIdqueryinteger支付方式(ENUM):1301-货到付款; 1302-在线支付; 1303-白条支付; 1304-现金支付; 1305-线下支付;
recordCommissionFeequerynumber佣金:平台佣金针对销售收款
recordDatequerystring年-月-日
recordDayqueryinteger
recordDescquerystring描述
recordDistributionCommissionFeequerynumber分销佣金:针对销售收款
recordEnablequerystring状态(BOOL):1-已收款;0-作废
recordMoneyquerynumber金额:record_total-佣金
recordMonthqueryinteger
recordTimequeryinteger支付时间
recordTimeEndqueryinteger支付时间-结束
recordTimeStartqueryinteger支付时间-开始
recordTitlequerystring标题
recordTotalquerynumber金额
recordYearqueryinteger
sidxquerystring排序字段
sizequeryinteger分页查询每页数量
sortquerystring排序方式
storeIdqueryinteger所属店铺
subsiteIdqueryinteger所属分站:0-总站
tradeTypeIdquerystringž‹交易类型(ENUM):1201-购物; 1202-转账; 1203-充值; 1204-提现; 1205-销售; 1206-佣金; 1207-退货付款;1208-退货收款;1209-转账收款
userIdqueryinteger所属用编号
userNicknamequerystring昵称

返回示例

200 Response

{
  "code": 0,
  "data": {
    "items": [
      {
        "chain_id": 0,
        "consume_record_id": 0,
        "currency_id": 0,
        "currency_symbol_left": "string",
        "order_id": "string",
        "payment_channel_id": 0,
        "payment_met_id": 0,
        "payment_type_id": 0,
        "record_commission_fee": 0,
        "record_date": "2019-08-24T14:15:22Z",
        "record_day": 0,
        "record_desc": "string",
        "record_distribution_commission_fee": 0,
        "record_enable": false,
        "record_money": 0,
        "record_month": 0,
        "record_time": 0,
        "record_title": "string",
        "record_total": 0,
        "record_year": 0,
        "store_id": 0,
        "subsite_id": 0,
        "trade_type_id": 0,
        "user_id": 0,
        "user_nickname": "string"
      }
    ],
    "page": 0,
    "records": 0,
    "size": 0,
    "total": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

用户资金

POST 修改支付密码

POST /front/pay/index/changePayPassword

修改支付密码

请求参数

名称位置类型必选说明
old_pay_passwordquerystringold_pay_password
new_pay_passwordquerystringnew_pay_password
pay_passwordquerystringpay_password

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 获取支付密码

GET /front/pay/index/getPayPasswd

获取支付密码

返回示例

200 Response

{
  "code": 0,
  "data": {
    "user_id": 0,
    "user_pay_passwd": "string",
    "user_pay_salt": "string"
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

交易类型表

GET 证书支付回调

GET /front/pay/callback/alipayCertNotify

证书支付回调

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

PUT 证书支付回调

PUT /front/pay/callback/alipayCertNotify

证书支付回调

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 证书支付回调

POST /front/pay/callback/alipayCertNotify

证书支付回调

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

DELETE 证书支付回调

DELETE /front/pay/callback/alipayCertNotify

证书支付回调

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

OPTIONS 证书支付回调

OPTIONS /front/pay/callback/alipayCertNotify

证书支付回调

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

HEAD 证书支付回调

HEAD /front/pay/callback/alipayCertNotify

证书支付回调

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

PATCH 证书支付回调

PATCH /front/pay/callback/alipayCertNotify

证书支付回调

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

TRACE 证书支付回调

TRACE /front/pay/callback/alipayCertNotify

证书支付回调

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

GET notifyUrl

GET /front/pay/callback/alipayNotify

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

PUT notifyUrl

PUT /front/pay/callback/alipayNotify

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST notifyUrl

POST /front/pay/callback/alipayNotify

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

DELETE notifyUrl

DELETE /front/pay/callback/alipayNotify

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

OPTIONS notifyUrl

OPTIONS /front/pay/callback/alipayNotify

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

HEAD notifyUrl

HEAD /front/pay/callback/alipayNotify

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

PATCH notifyUrl

PATCH /front/pay/callback/alipayNotify

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

TRACE notifyUrl

TRACE /front/pay/callback/alipayNotify

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

GET 证书支付返回

GET /front/pay/callback/returnCertUrl

证书支付返回

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

PUT 证书支付返回

PUT /front/pay/callback/returnCertUrl

证书支付返回

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 证书支付返回

POST /front/pay/callback/returnCertUrl

证书支付返回

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

DELETE 证书支付返回

DELETE /front/pay/callback/returnCertUrl

证书支付返回

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

OPTIONS 证书支付返回

OPTIONS /front/pay/callback/returnCertUrl

证书支付返回

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

HEAD 证书支付返回

HEAD /front/pay/callback/returnCertUrl

证书支付返回

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

PATCH 证书支付返回

PATCH /front/pay/callback/returnCertUrl

证书支付返回

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

TRACE 证书支付返回

TRACE /front/pay/callback/returnCertUrl

证书支付返回

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

GET returnUrl

GET /front/pay/callback/returnUrl

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

PUT returnUrl

PUT /front/pay/callback/returnUrl

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST returnUrl

POST /front/pay/callback/returnUrl

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

DELETE returnUrl

DELETE /front/pay/callback/returnUrl

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

OPTIONS returnUrl

OPTIONS /front/pay/callback/returnUrl

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

HEAD returnUrl

HEAD /front/pay/callback/returnUrl

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

PATCH returnUrl

PATCH /front/pay/callback/returnUrl

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

TRACE returnUrl

TRACE /front/pay/callback/returnUrl

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

GET 微信支付回调

GET /front/pay/callback/wechatNotify

微信支付回调

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 微信支付回调

POST /front/pay/callback/wechatNotify

微信支付回调

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

唤起支付

POST alipayPay

POST /front/pay/consumeDeposit/alipayPay

请求参数

名称位置类型必选说明
depositPaymentTypequeryinteger支付方式(ENUM):1301-货到付款; 1302-在线支付; 1303-白条支付; 1304-现金支付; 1305-线下支付;
openidquerystringopenid
orderIdquerystring订单编号(DOT)
passwordquerystring支付密码
paymentChannelIdqueryinteger支付渠道
pmCreditquerynumber积分支付
pmMoneyquerynumber余额支付
pmPointsquerynumber积分支付
pmRechargeCardquerynumber充值卡支付

返回示例

200 Response

{
  "code": 0,
  "data": {
    "mwebUrl": "string",
    "orderId": "string",
    "paid": false,
    "statusCode": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST alipayPcPay

POST /front/pay/consumeDeposit/alipayPcPay

请求参数

名称位置类型必选说明
depositPaymentTypequeryinteger支付方式(ENUM):1301-货到付款; 1302-在线支付; 1303-白条支付; 1304-现金支付; 1305-线下支付;
openidquerystringopenid
orderIdquerystring订单编号(DOT)
passwordquerystring支付密码
paymentChannelIdqueryinteger支付渠道
pmCreditquerynumber积分支付
pmMoneyquerynumber余额支付
pmPointsquerynumber积分支付
pmRechargeCardquerynumber充值卡支付

返回示例

200 Response

{
  "code": 0,
  "data": {
    "mwebUrl": "string",
    "orderId": "string",
    "paid": false,
    "statusCode": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET v3Get

GET /front/pay/consumeDeposit/get

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

PUT v3Get

PUT /front/pay/consumeDeposit/get

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST v3Get

POST /front/pay/consumeDeposit/get

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

DELETE v3Get

DELETE /front/pay/consumeDeposit/get

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

OPTIONS v3Get

OPTIONS /front/pay/consumeDeposit/get

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

HEAD v3Get

HEAD /front/pay/consumeDeposit/get

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

PATCH v3Get

PATCH /front/pay/consumeDeposit/get

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

TRACE v3Get

TRACE /front/pay/consumeDeposit/get

返回示例

200 Response

"string"

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKstring
204No Contentopen in new windowNo ContentInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline

POST money

POST /front/pay/consumeDeposit/moneyPay

请求参数

名称位置类型必选说明
depositPaymentTypequeryinteger支付方式(ENUM):1301-货到付款; 1302-在线支付; 1303-白条支付; 1304-现金支付; 1305-线下支付;
openidquerystringopenid
orderIdquerystring订单编号(DOT)
passwordquerystring支付密码
paymentChannelIdqueryinteger支付渠道
pmCreditquerynumber积分支付
pmMoneyquerynumber余额支付
pmPointsquerynumber积分支付
pmRechargeCardquerynumber充值卡支付

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST wechatAppPay

POST /front/pay/consumeDeposit/wechatAppPay

请求参数

名称位置类型必选说明
depositPaymentTypequeryinteger支付方式(ENUM):1301-货到付款; 1302-在线支付; 1303-白条支付; 1304-现金支付; 1305-线下支付;
openidquerystringopenid
orderIdquerystring订单编号(DOT)
passwordquerystring支付密码
paymentChannelIdqueryinteger支付渠道
pmCreditquerynumber积分支付
pmMoneyquerynumber余额支付
pmPointsquerynumber积分支付
pmRechargeCardquerynumber充值卡支付

返回示例

200 Response

{
  "code": 0,
  "data": {
    "code": 0,
    "data": {
      "property1": "string",
      "property2": "string"
    },
    "paid": false,
    "response": "string",
    "statusCode": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST wechatAppletPay

POST /front/pay/consumeDeposit/wechatAppletPay

请求参数

名称位置类型必选说明
depositPaymentTypequeryinteger支付方式(ENUM):1301-货到付款; 1302-在线支付; 1303-白条支付; 1304-现金支付; 1305-线下支付;
openidquerystringopenid
orderIdquerystring订单编号(DOT)
passwordquerystring支付密码
paymentChannelIdqueryinteger支付渠道
pmCreditquerynumber积分支付
pmMoneyquerynumber余额支付
pmPointsquerynumber积分支付
pmRechargeCardquerynumber充值卡支付

返回示例

200 Response

{
  "code": 0,
  "data": {
    "code": 0,
    "data": {
      "property1": "string",
      "property2": "string"
    },
    "mwebUrl": "string",
    "paid": false,
    "response": "string",
    "statusCode": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST wechatH5Pay

POST /front/pay/consumeDeposit/wechatH5Pay

请求参数

名称位置类型必选说明
depositPaymentTypequeryinteger支付方式(ENUM):1301-货到付款; 1302-在线支付; 1303-白条支付; 1304-现金支付; 1305-线下支付;
openidquerystringopenid
orderIdquerystring订单编号(DOT)
passwordquerystring支付密码
paymentChannelIdqueryinteger支付渠道
pmCreditquerynumber积分支付
pmMoneyquerynumber余额支付
pmPointsquerynumber积分支付
pmRechargeCardquerynumber充值卡支付

返回示例

200 Response

{
  "code": 0,
  "data": {
    "code": 0,
    "data": {
      "property1": "string",
      "property2": "string"
    },
    "mwebUrl": "string",
    "paid": false,
    "response": "string",
    "statusCode": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST wechatJSAPIPay

POST /front/pay/consumeDeposit/wechatJSAPIPay

请求参数

名称位置类型必选说明
depositPaymentTypequeryinteger支付方式(ENUM):1301-货到付款; 1302-在线支付; 1303-白条支付; 1304-现金支付; 1305-线下支付;
openidquerystringopenid
orderIdquerystring订单编号(DOT)
passwordquerystring支付密码
paymentChannelIdqueryinteger支付渠道
pmCreditquerynumber积分支付
pmMoneyquerynumber余额支付
pmPointsquerynumber积分支付
pmRechargeCardquerynumber充值卡支付

返回示例

200 Response

{
  "code": 0,
  "data": {
    "code": 0,
    "data": {
      "property1": "string",
      "property2": "string"
    },
    "mwebUrl": "string",
    "paid": false,
    "response": "string",
    "statusCode": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

会员积分

GET 会员积分日志

GET /front/pay/points/list

会员积分日志

请求参数

名称位置类型必选说明
createTimeEndquerystring创建时间结束值
createTimeStartquerystring创建时间起始值
extIdquerystring关联单号
like[0].columnquerystring搜索字段
like[0].likequerystring搜索字符
order[0].sidxquerystring排序字段
order[0].sortquerystring排序方式
pagequeryinteger分页查询页码
pointsKindIdqueryinteger类型(ENUM):1-获取积分;2-消费积分;
pointsLogDatequerystring积分日期
pointsLogDescquerystring描述
pointsLogIdqueryintegernone
pointsLogPointsquerynumber可用积分
pointsLogStatequerystring领取状态(BOOL):0-未领取;1-已领取
pointsLogTimequerystring创建时间
pointsTypeIdqueryinteger积分类型(ENUM):1-会员注册;2-会员登录;3-商品评论;4-购买商品;5-管理员操作;7-积分换购商品;8-积分兑换代金券
sidxquerystring排序字段
sizequeryinteger分页查询每页数量
sortquerystring排序方式
storeIdqueryinteger所属店铺
userIdqueryinteger会员编号
userIdOtherqueryinteger交互会员
userPointsquerynumber当前积分

返回示例

200 Response

{
  "code": 0,
  "data": {
    "items": [
      {
        "ext_id": "string",
        "points_kind_id": 0,
        "points_log_date": "2019-08-24T14:15:22Z",
        "points_log_desc": "string",
        "points_log_id": 0,
        "points_log_points": 0,
        "points_log_state": false,
        "points_log_time": 0,
        "points_type_id": 0,
        "store_id": 0,
        "user_id": 0,
        "user_id_other": 0,
        "user_points": 0
      }
    ],
    "page": 0,
    "records": 0,
    "size": 0,
    "total": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

用户资源表-资金账户表 前端控制器

GET 账户余额信息

GET /front/pay/userResource/getCommissionInfo

账户余额信息

返回示例

200 Response

{
  "code": 0,
  "data": {
    "commission_amount": 0,
    "commission_buy_amount": 0,
    "commission_buy_amount0": 0,
    "commission_buy_amount1": 0,
    "commission_buy_amount2": 0,
    "commission_buy_ca": 0,
    "commission_buy_ca_trade": 0,
    "commission_buy_da": 0,
    "commission_buy_da_trade": 0,
    "commission_buy_settled": 0,
    "commission_buy_trade0": 0,
    "commission_buy_trade1": 0,
    "commission_buy_trade2": 0,
    "commission_click_amount0": 0,
    "commission_click_amount1": 0,
    "commission_click_amount2": 0,
    "commission_directseller_amount0": 0,
    "commission_directseller_amount1": 0,
    "commission_directseller_amount2": 0,
    "commission_directseller_ca": 0,
    "commission_directseller_ca_trade": 0,
    "commission_directseller_da": 0,
    "commission_directseller_da_trade": 0,
    "commission_directseller_settled": 0,
    "commission_directseller_trade0": 0,
    "commission_directseller_trade1": 0,
    "commission_directseller_trade2": 0,
    "commission_distributor_amount": 0,
    "commission_partner_buy_trade": 0,
    "commission_partner_deposit_trade": 0,
    "commission_partner_directseller_trade": 0,
    "commission_refund_amount": 0,
    "commission_reg_amount0": 0,
    "commission_reg_amount1": 0,
    "commission_reg_amount2": 0,
    "commission_salesperson_amount": 0,
    "commission_settled": 0,
    "month_commission_buy": 0,
    "month_num": 0,
    "user_commission_buy": 0,
    "user_commission_now": 0,
    "user_id": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 获取签到基本信息

GET /front/pay/userResource/getSignInfo

获取签到基本信息

请求参数

名称位置类型必选说明
user_idqueryintegeruser_id

返回示例

200 Response

{
  "code": 0,
  "data": {
    "continue_sign_days": 0,
    "sign_day_arr": [
      "string"
    ],
    "sign_list": [
      {
        "days": 0,
        "multiples": "string",
        "times": "string",
        "value_str": "string"
      }
    ],
    "today_is_sign": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 用户经验列表

GET /front/pay/userResource/listsExp

账户余额信息

请求参数

名称位置类型必选说明
createTimeEndquerystring创建时间结束值
createTimeStartquerystring创建时间起始值
expKindIdqueryinteger类型(ENUM):1-获取;2-消耗
expLogDatequerystring获得经验的日期
expLogDescquerystring描述
expLogIdqueryintegernone
expLogTimequerystring创建时间
expLogValuequeryinteger可用经验
expTypeIdqueryinteger积分类型(ENUM):1-会员注册;2-会员登录;3-商品评论;4-购买商品;5-管理员操作;7-积分换购商品;8-积分兑换代金券
like[0].columnquerystring搜索字段
like[0].likequerystring搜索字符
order[0].sidxquerystring排序字段
order[0].sortquerystring排序方式
pagequeryinteger分页查询页码
sidxquerystringnone
sizequeryinteger分页查询每页数量
sortquerystring排序方式
storeIdqueryinteger所属店铺
userExpqueryinteger当前经验
userIdqueryinteger会员编号

返回示例

200 Response

{
  "code": 0,
  "data": {
    "items": [
      {
        "exp_kind_id": 0,
        "exp_log_date": "2019-08-24T14:15:22Z",
        "exp_log_desc": "string",
        "exp_log_id": 0,
        "exp_log_time": "2019-08-24T14:15:22Z",
        "exp_log_value": 0,
        "exp_type_id": 0,
        "store_id": 0,
        "user_exp": 0,
        "user_id": 0
      }
    ],
    "page": 0,
    "records": 0,
    "size": 0,
    "total": 0
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 签到

POST /front/pay/userResource/signIn

签到

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKCommonRes
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 签到

GET /front/pay/userResource/signState

签到

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKCommonRes
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

提现账户

POST 收款账号-添加/编辑

POST /front/pay/userBank/addOrEditUserBank

收款账号-添加/编辑

请求参数

名称位置类型必选说明
bankIdqueryinteger银行编号
bankNamequerystring银行名称
cityIdquerystring开户城市编号
provinceIdquerystring开户省份编号
settlementAccountTypeIdqueryinteger账户类别(ENUM):1001-微信;1002-支付宝;1003-现金;1004-银行
typeIdqueryinteger卡的类型编号
userBankAmountMoneyquerynumber账户余额
userBankBeginDatequeryinteger余额日期
userBankCardAddressquerystring开户支行名称
userBankCardCodequerystring银行卡卡号
userBankCardMobilequerystring银行预留手机号
userBankCardNamequerystring卡号账户名称
userBankCardTimequerystring银行卡添加时间
userBankDefaultquerystring用户当前所选默认提现卡
userBankEnablequeryinteger是否可用(BOOL):1-启用;0-禁用
userBankIdqueryinteger卡编号
userIdqueryinteger用户编号
userIntlquerystring国家区号

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 提现账户-结算账户

GET /front/pay/userBank/get

提现账户-结算账户

请求参数

名称位置类型必选说明
user_bank_idqueryintegeruser_bank_id

返回示例

200 Response

{
  "code": 0,
  "data": {
    "bank_id": 0,
    "bank_name": "string",
    "city_id": "string",
    "province_id": "string",
    "settlement_account_type_id": 0,
    "type_id": 0,
    "user_bank_amount_money": 0,
    "user_bank_begin_date": 0,
    "user_bank_card_address": "string",
    "user_bank_card_code": "string",
    "user_bank_card_mobile": "string",
    "user_bank_card_name": "string",
    "user_bank_card_time": "2019-08-24T14:15:22Z",
    "user_bank_default": false,
    "user_bank_enable": 0,
    "user_bank_id": 0,
    "user_id": 0,
    "user_intl": "string"
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

GET 银行-账号列表

GET /front/pay/userBank/list

银行-账号列表

返回示例

200 Response

{
  "code": 0,
  "data": {
    "bank_list": [
      {
        "bank_enable": false,
        "bank_id": 0,
        "bank_name": "string",
        "bank_order": 0,
        "bank_remark": "string",
        "settlement_account_type_id": 0
      }
    ],
    "user_bank_list": [
      {
        "bank_id": 0,
        "bank_name": "string",
        "city_id": "string",
        "province_id": "string",
        "settlement_account_type_id": 0,
        "type_id": 0,
        "user_bank_amount_money": 0,
        "user_bank_begin_date": 0,
        "user_bank_card_address": "string",
        "user_bank_card_code": "string",
        "user_bank_card_mobile": "string",
        "user_bank_card_name": "string",
        "user_bank_card_time": "2019-08-24T14:15:22Z",
        "user_bank_default": false,
        "user_bank_enable": 0,
        "user_bank_id": 0,
        "user_id": 0,
        "user_intl": "string"
      }
    ]
  },
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline

POST 账号列表-通过user_bank_id删除

POST /front/pay/userBank/remove

结算账户表-通过user_bank_id删除

请求参数

名称位置类型必选说明
user_bank_idqueryintegeruser_bank_id

返回示例

200 Response

{
  "code": 0,
  "data": {},
  "error": "string",
  "msg": "string",
  "status": 0
}

返回结果

状态码状态码含义说明数据模型
200OKopen in new windowOKInline
201Createdopen in new windowCreatedInline
401Unauthorizedopen in new windowUnauthorizedInline
403Forbiddenopen in new windowForbiddenInline
404Not Foundopen in new windowNot FoundInline