1:zdmc00='信用付接口参数字典'; CreditPay_Debug=1 2:修改服务地址: update BM_TYCJBM set SERURL='http://10.16.241.65:8081/api/YLZ_XYF_WebService_Interface' where XTDM00='XMCredPay'; commit; --电子健康卡注册 :参考返回报文 {"address":"","birth_place":"","birth_place_code":"","birthday":"19950501","card_no":"DC8090272","card_type":"01","career":"","citizen":"","community":"","community_detail":"","contact_address":"","contact_address_detail":"","contact_name":"","contact_phone":"","contact_relation":"","crt_date":"20200423","crt_time":"123146","detail_address":"","ehealth_card_id":"434F77DF5E2BFF537113B12B76501E0BE416D130EE251CC72C925A0C90F85E0D","email":"","extra":{"gzztmc":"在职","icztmc":"停保","icztbh":"2","grsfen":"1","grsfmc":"本市人员","fzxmc0":"厦门市社保中心","fzxbh0":"01","bjjbie":"00","gzzt00":"01","id0000":"350204199505010018"},"id_no":"350204199505010018","id_type":"01","marital_status":"","mindex_id":"电子健康卡ID","mobile_phone":"13123395661","nation":"01","respCode":"0000","respMsg":"交易成功","telephone":"13123395661","unit_phone":"","user_name":"张雨轩","user_native":"","user_sex":"1","work_unit":"","xman_id":"b8285761-4525-4d34-b0c1-0150c46118c8"} 【步骤1】信用就医状况查询 接口返回报文成功开通: {"timestamp":"1722392079000","param":{"empiUserId":"434F77DF5E2BFF537113B12B76501E0BE416D130EE251CC72C925A0C90F85E0D","isCreditUser":"1","remindOpen":"1","isInsUser":"1","logId":"20240731101439019wxqz","isUseCredit":"1","isFamilyDoctorUser":"1","isCreditOpen":"1"},"respCode":"000000","respMsg":"成功","encryptType":"plain","version":"1.0.0","appId":"ZP4425XWNKMZFL93DF2V7YVFER9AHIVG","signType":"plain"} 【步骤2】厦门信用就医使用授权 接口返回报文【balance:授权使用总额度 availableBalance:可用额度】: {"timestamp":"1722417365000","param":{"outAgreementNo":"11872","agreementType":"3","authorState":"2","id":"1818576355747524610","logId":"202407311716053008ab2","extra":{"expireTime":"2024-07-31 23:59:59"},"agreementNo":"2024073117160549a5e9dfc82b445391"},"respCode":"000000","respMsg":"成功","encryptType":"plain","version":"1.0.0","appId":"ZP4425XWNKMZFL93DF2V7YVFER9AHIVG","signType":"plain"} 【步骤3】厦门信用就医授权查询 接口返回报文【balance:授权使用总额度 availableBalance:可用额度】: {"timestamp":"1722417365000","param":{"outAgreementNo":"11872","balance":2997,"agreementType":"3","authorState":"2","availableBalance":2981,"id":"1818576355747524610","logId":"202407311716053008ab2","extra":{"expireTime":"2024-07-31 23:59:59"},"agreementNo":"2024073117160549a5e9dfc82b445391"},"respCode":"000000","respMsg":"成功","encryptType":"plain","version":"1.0.0","appId":"ZP4425XWNKMZFL93DF2V7YVFER9AHIVG","signType":"plain"} 厦门信用就医费用结算 接口返回报文【frozenAmt:记账额度】 {"timestamp":"1722418930000","param":{"frozenState":"2","channelId":"1.0","version":"1.0","frozenTime":"2024-07-31 17:42:10","logId":"20240731174210300m32a","thirdSubChannel":"BCM_PA","subChannel":"CFP_PA","frozenAmt":8,"frozenNo":"20240731174210a3d1232d556e4c1605","outFrozenNo":"XYFMZ11887","channel":"CFP"},"respCode":"000000","respMsg":"成功","encryptType":"plain","version":"1.0.0","appId":"ZP4425XWNKMZFL93DF2V7YVFER9AHIVG","signType":"plain"} 厦门信用就医撤销退款 接口返回报文【unfrozenAmt:记账撤销金额】 {"timestamp":"1722418930000","param":{"unfrozenState":"2","channelId":"1.0","version":"1.0","unfrozenTime":"2024-07-31 17:42:10","logId":"20240731174210300m32a","thirdSubChannel":"BCM_PA","subChannel":"CFP_PA","unfrozenAmt":8,"frozenNo":"20240731174210a3d1232d556e4c1605","outFrozenNo":"XYFMZ11887", "unfrozenNo":"20240125487","channel":"CFP"},"respCode":"000000","respMsg":"成功","encryptType":"plain","version":"1.0.0","appId":"ZP4425XWNKMZFL93DF2V7YVFER9AHIVG","signType":"plain"}