Skip to main content

查询卡余额

基本信息

接口名称:查询卡信息状  态:已完成
接口路径:POST /paas/micro/cashcard/inquiryCardInfo更新时间:2023-07-04 20:14:17
Mock地址:https://apimock.e-buychina.com/mock/467/paas/micro/cashcard/inquiryCardInfo

请求参数

Headers:

参数名称参数值是否必填
Content-Typeapplication/json

Body:

参数名称类型必填默认值备注其他信息
uuidstring请求序列号最大长度:50
最小长度:1
Mock:@now('yyyyMMdd')-@string('lower',32)
appIdstring请求AppId最大长度:50
最小长度:1
Mock:@natural
actionstring交易类型最大长度:50
最小长度:1
Mock:inquiryCardInfo
timestampnumber请求时间戳Mock:@timestamp
signTypestring签名类型最大长度:20
最小长度:1
Mock:sha256
signstring签名值最大长度:500
最小长度:1
Mock:@natural
langstring语言最大长度:50
最小长度:1
Mock:zh_CN
contentobject请求报文
  cashCardNostring现金卡卡号最大长度:50

返回数据

参数名称类型必填默认值备注其他信息
uuidstring请求序列号最大长度:50
最小长度:1
Mock:@now('yyyyMMdd')-@string('lower',32)
successboolean交易成功与否Mock:@boolean
actionstring交易类型最大长度:50
最小长度:1
Mock:inquiryCardInfo
timestampnumber返回时间戳Mock:@timestamp
errorCodestring错误码最大长度:50
Mock:@word
errorMessagestring错误描述最大长度:50
Mock:@csentence
signTypestring签名类型最大长度:20
Mock:sha256
signstring签名值最大长度:500
Mock:@natural
contentobject返回报文
  cardInfoobject卡信息集合
    cashCardNostring现金卡卡号最大长度:50
    cardBalancestring卡余额最大长度:50
    cardMonBalancestring卡本金余额最大长度:20
    discountBalancestring商户补贴部分余额最大长度:20
    cardStatusstring卡状态(0未激活 1可用 2冻结 3已过期 4已退卡 5已销卡 )最大长度:1
    cardExpireTimestring卡失效时间(yyyy-mm-dd hh:mm:ss)最大长度:50
    faceValuestring卡面额(元)最大长度:50
Mock:@string

备注

注意:为保证签名的一致性,返回报文中的content字段将以string形式的进行返回,例如:

{
	"content": {
		"userId": 1,
		"userName": "Trump"
	}
}

将返回为:

{
	"content": "{\"userId\":1,\"userName\":\"Trump\"}"
}

变更历史

变更日期变更内容
2023-07-04
2021-11-18
2020-12-02
2020-12-02
2020-11-06
2020-11-06
2020-08-28
2020-08-25
2020-08-25
2020-08-25
2020-08-25
2020-08-25
2020-08-25
2020-08-03
2020-08-03
2020-07-28
2020-07-28
2020-07-24
2020-07-24
2020-07-24
2020-07-24
2020-07-23
2020-07-23
2020-07-23
2020-07-22
api-id=16567