测试环境商家账户是用来进行支付业务体验的账号,交易中产生的一切信息均为生产环境数据,由于体验业务特点,不会产生清算资金划拔,所以使用测试商家账号时请务必使用小额支付(建议:小于0.1元)。
{
"orgId": "string",
"orgMercode": "string",
"orgTermno": "string",
"orgTrace": "28位定长,规则:orgId 前四位+后四位+yyyyMMddhhmmss+6位自定义 合计28位长度(唯一)",
"sign": "string",
"signType": "string",
"prodTrace": "string",
"appendData": {
"orgBasestation": "string",
"orgDeviceIp": "string",
"orgGpstype": "string",
"orgLatitude": "string",
"orgLongitude": "string",
"dgtlEnvlp": "string",
"identity": "string",
"qrLimitAmt": {
"creditLimitAmt": "string",
"debitLimitAmt": "string"
},
"qrPnrInsIdCd": "string",
"queryOptions": "string",
"terminalinfo": {
"appVersion": "string",
"encryptRandNum": "string",
"iccId": "string",
"lbsNum1": "string",
"lbsNum2": "string",
"lbsNum3": "string",
"lbsSignal1": "string",
"lbsSignal2": "string",
"lbsSignal3": "string",
"location": "string",
"locationCd1": "string",
"locationCd2": "string",
"locationCd3": "string",
"mobileCountryCd": "string",
"mobileNetNum": "string",
"networkLicense": "string",
"secretText": "string",
"serialNum": "string",
"telecomLbs": "string",
"telecomLbsSignal": "string",
"telecomNetId": "string",
"telecomSysId": "string",
"terminalId": "string",
"terminalIp": "string",
"terminalType": "string"
},
"unQrAppCustomerInfo": "string",
"unQrAppInstalTransInfo": {
"instalRate": "string",
"mchntFeeSubsidy": "string",
"numberOfInstallments": "string"
},
"unQrAppReserved": {
"cardNumberLock": "string",
"customerId": "string",
"discountCode": "string",
"fundComCode": "string",
"fundProCode": "string",
"fundProType": "string"
},
"wxLimitPay": "no_credit",
"invoiceSt": false,
"wxDetail": {
"costPrice": 0,
"goodsDetail": [
{
"goodsId": "string",
"goodsName": "string",
"price": 0,
"quantity": 0,
"wxpayGoodsId": "string"
}
],
"receiptId": "string"
},
"wxGoodsTag": "string",
"wxSceneInfo": {
"device_id": "string",
"payer_client_ip": "string",
"store_info": {
"address": "string",
"area_code": "string",
"id": "string",
"name": "string"
}
},
"aliDisablePayChannels": "string",
"aliEnablePayChannels": "string",
"aliExtendParams": {
"property1": {},
"property2": {}
},
"aliGoodsDetail": [
{
"alipay_goods_id": "string",
"body": "string",
"categories_tree": "string",
"goods_category": "string",
"goods_id": "string",
"goods_name": "string",
"price": "string",
"quantity": 0,
"show_url": "string"
}
],
"aliBusinessParams": {
"data": "123"
},
"aliDiscountableAmount": 1,
"aliOperatorId": "string",
"aliSellerId": "string",
"aliStoreId": "string",
"aliTerminalParams": {
"credential": "28763443825664394:20180207192030954:abcdefGHIJKLMN",
"signature": "xxxxxxx",
"terminalType": "IOT"
},
"aliUndiscountableAmount": 1,
"alipayStoreId": "string",
"qrAcqAddnData": {
"customData": "string",
"goodsInfos": [
{
"addnInfo": "string",
"category": "string",
"id": "string",
"name": "string",
"price": "string",
"quantity": "string"
}
],
"orderInfo": {
"addnInfo": "string",
"dctAmount": "string",
"description": "string",
"title": "string"
}
},
"qrSpecFeeInfo": "string"
},
"data": {
"authCode": "string",
"tradeCode": "string",
"wxNonceStr": "string",
"wxSubAppid": "string"
},
"orgInfo": "string"
}
curl --location --request POST 'https://t-wapi.bhecard.com:8443/standard/getOpenId' \
--header 'Content-Type: application/json' \
--data-raw '{
"orgId": "string",
"orgMercode": "string",
"orgTermno": "string",
"orgTrace": "28位定长,规则:orgId 前四位+后四位+yyyyMMddhhmmss+6位自定义 合计28位长度(唯一)",
"sign": "string",
"signType": "string",
"prodTrace": "string",
"appendData": {
"orgBasestation": "string",
"orgDeviceIp": "string",
"orgGpstype": "string",
"orgLatitude": "string",
"orgLongitude": "string",
"dgtlEnvlp": "string",
"identity": "string",
"qrLimitAmt": {
"creditLimitAmt": "string",
"debitLimitAmt": "string"
},
"qrPnrInsIdCd": "string",
"queryOptions": "string",
"terminalinfo": {
"appVersion": "string",
"encryptRandNum": "string",
"iccId": "string",
"lbsNum1": "string",
"lbsNum2": "string",
"lbsNum3": "string",
"lbsSignal1": "string",
"lbsSignal2": "string",
"lbsSignal3": "string",
"location": "string",
"locationCd1": "string",
"locationCd2": "string",
"locationCd3": "string",
"mobileCountryCd": "string",
"mobileNetNum": "string",
"networkLicense": "string",
"secretText": "string",
"serialNum": "string",
"telecomLbs": "string",
"telecomLbsSignal": "string",
"telecomNetId": "string",
"telecomSysId": "string",
"terminalId": "string",
"terminalIp": "string",
"terminalType": "string"
},
"unQrAppCustomerInfo": "string",
"unQrAppInstalTransInfo": {
"instalRate": "string",
"mchntFeeSubsidy": "string",
"numberOfInstallments": "string"
},
"unQrAppReserved": {
"cardNumberLock": "string",
"customerId": "string",
"discountCode": "string",
"fundComCode": "string",
"fundProCode": "string",
"fundProType": "string"
},
"wxLimitPay": "no_credit",
"invoiceSt": false,
"wxDetail": {
"costPrice": 0,
"goodsDetail": [
{
"goodsId": "string",
"goodsName": "string",
"price": 0,
"quantity": 0,
"wxpayGoodsId": "string"
}
],
"receiptId": "string"
},
"wxGoodsTag": "string",
"wxSceneInfo": {
"device_id": "string",
"payer_client_ip": "string",
"store_info": {
"address": "string",
"area_code": "string",
"id": "string",
"name": "string"
}
},
"aliDisablePayChannels": "string",
"aliEnablePayChannels": "string",
"aliExtendParams": {
"property1": {},
"property2": {}
},
"aliGoodsDetail": [
{
"alipay_goods_id": "string",
"body": "string",
"categories_tree": "string",
"goods_category": "string",
"goods_id": "string",
"goods_name": "string",
"price": "string",
"quantity": 0,
"show_url": "string"
}
],
"aliBusinessParams": {
"data": "123"
},
"aliDiscountableAmount": 1,
"aliOperatorId": "string",
"aliSellerId": "string",
"aliStoreId": "string",
"aliTerminalParams": {
"credential": "28763443825664394:20180207192030954:abcdefGHIJKLMN",
"signature": "xxxxxxx",
"terminalType": "IOT"
},
"aliUndiscountableAmount": 1,
"alipayStoreId": "string",
"qrAcqAddnData": {
"customData": "string",
"goodsInfos": [
{
"addnInfo": "string",
"category": "string",
"id": "string",
"name": "string",
"price": "string",
"quantity": "string"
}
],
"orderInfo": {
"addnInfo": "string",
"dctAmount": "string",
"description": "string",
"title": "string"
}
},
"qrSpecFeeInfo": "string"
},
"data": {
"authCode": "string",
"tradeCode": "string",
"wxNonceStr": "string",
"wxSubAppid": "string"
},
"orgInfo": "string"
}'
{
"sign": "Kzm7oGyBX+UUPEtQQjzeevKYQrrosMizLuc9+dUHEBnCo3LNuSCiSmyKv6BTv49fgzziQxqGOO5NeZTviPKqT4JH/gakFk8c3TvjQcMQqYwoVxDRNX2cckG7Fvyk2+fo3vSZpJkA6hRmE6XThpP6zk46F3xCYOTp2OupjfGLbBhhR+tjd9nB4tCB9GDyXGKfz5iYyLcaYq02QlGbDngOJA7NKiRf5PmHozlJLLdpl04Llut3jkxBmLOtOvKlvmRWWghVrm02Hqma+ynmqLWGQI1SCCbuVm6gemQI2QKUa0pkU6VD5MzydpeIWOIEdMB/7y/kCQbXKEHGfmw3mxdQRg==",
"data": {
"oriFinRetcode": "00",
"payerId": "pF8uKOBwbJKwvkG6WQzovg312U"
},
"sysRetcode": "000000",
"sysRetmsg": "success"
}