e-Buy PaaS API

e-Buy PaaS API

会员能力API

用户鉴权、会员注册、会员营销、会员权益、企业福利

会员能力API

【主档类】创建租户用户

[yapi_interface]25762[/yapi_interface]

会员能力API

【主档类】创建租户会员

[yapi_interface]25767[/yapi_interface]

会员能力API

【主档类】获取用户详情

[yapi_interface]21067[/yapi_interface]

会员能力API

【主档类】获取会员详情

[yapi_interface]22947[/yapi_interface]

会员能力API

【资产类】获取会员资产

[yapi_interface]25922[/yapi_interface]

会员能力API

【资产类】获取会员卡信息

[yapi_interface]27717[/yapi_interface]

会员能力API

【聚合类】创建用户及会员

[yapi_interface]31722[/yapi_interface]

卡券包能力API

会员、三方用户、电子钱包资产(含资产转赠、资产合并等)

卡券包能力API

【资产类】查询卡券包列表

[yapi_interface]24792[/yapi_interface]

卡券包能力API

【资产类】查询卡券来源中文名称

[yapi_interface]37584[/yapi_interface]

卡券包能力API

【资产类】通过券码查询thirdOpenId

[yapi_interface]37596[/yapi_interface]

卡券包能力API

【资产类】查询单张卡券详情

[yapi_interface]36480[/yapi_interface]

卡券包能力API

【通知类】同步天正会员信息并合并资产

[yapi_interface]37320[/yapi_interface]

image.png

卡券包能力API

签名相关

交互方式为HTTPS协议,提交方式为POST,字符集为:UTF-8

算法为 SHA-256,字符集为:UTF-8,将请求体byte转为16进制,获取签名串

参与签名完整字符串拼接如:

action=getCardVoucherList&appId=ebuyd8c67d371771&content={"pageNumber":1,"pageSize":1000,"cardVoucherStatusList":[],"voucherSource":"giftcard","memberId":"76d922ce0aef013cb77853ff147e162b"}&lang=zh-CN&signType=sha256&timestamp=1756708768205&uuid=20250901-kyuxvexjykhpqrqmbdupzatrydnlhtsc&dvus87w2bqqc597jnkcj6wehjgx3sn17

appSecret 需要申请开通对应的租户app获取,demo中为 【dvus87w2bqqc597jnkcj6wehjgx3sn17】

请求demo

{
"action":"getCardVoucherList",
"appId":"ebuyd8c67d371771",
"content":{"pageNumber":1,"pageSize":1000,"cardVoucherStatusList":[],"voucherSource":"giftcard","memberId":"76d922ce0aef013cb77853ff147e162b"},
"lang":"zh_CN",
"signType":"sha256",
"timestamp":1756708768205,
"uuid":"20250901-kyuxvexjykhpqrqmbdupzatrydnlhtsc"
}
请求响应demo
{
  "uuid": "20250901-kyuxvexjykhpqrqmbdupzatrydnlhtsc",
  "action": "getCardVoucherList",
  "content": {
    "cardList": [
      {
        "remainTimes": 1,
        "voucherAmount": 200,
        "bindingTime": "20250806131947",
        "useRule": {},
        "voucherSource": "ebuyd8c67d371771",
        "memberId": "76d922ce0aef013cb77853ff147e162b",
        "walletId": "58f854f3de384cd681c15ffadf73c73c",
        "voucherStatusDesc": "可用",
        "thirdOpenId": "15952419389",
        "tenancyId": 19,
        "voucherName": "尊礼卡200元",
        "phoneNumber": "15952419389",
        "updateDate": 1754457587000,
        "validEndTime": "20251113235959",
        "voucherDescUrl": "https://test-paas-ui-static.e-buy.com//views/cardVoucher/data/Card_CASH10000001.json",
        "voucherCode": "66669403364957663696974",
        "productType": "Cashcard",
        "createDate": 1754457587000,
        "validStartTime": "20250806000000",
        "isNew": "1",
        "surfaceUrl": "https://ebuyimg.e-mallchina.com/paas-app-adminauth/20230203144620ASG9slFX.jpeg",
        "templateUrl": "https://test-paas-ui-static.e-buy.com/views/cardVoucher/cardDetail.html?ticketType=Card&ticketId=CASH10000001&data=D3E9E4FE9EC78670739F0B92FB0DA2579A3544906A569A9639A75C4CBA328A16278032EE75320677C158E7DD5948EEABBC891F100EE5EDEFBA04C23DCD36CC4C46B1665E65CF268795378F479CD6ED74FC616E05D940663E03A6DF858F234466ED52BE30D1E50DC48DF829130283F1A828429BAC2A251D5E9207835DF9C0153015DC3CB0574B050D55CD9A416A0979300C6AC567B06A2F6A94C4F5FF958D36F18B39EDC93BD1C44AC028C4A50670C35C3C59F7FF6F095056869F0126D5A2AB45319C7DCFAE3AC7736C4DC6B8530CE2F6C66AD4229DD2B7D157964E798C81F062360DE8742026B23359E8069842E3B9D33151433F3FA34263531E442E7BD3AEF0020816143675532579758EDDDC2743E20550E6B4D5D69CC2C312F151C2AD6296DBCFC178C11CDE3C99153D72EA4DE389B99A9B5293072070EBE67D567A8D2548853F32EB97E611E5D7BEAF0C52908CCA729F09759C719833E257A714938A19BC76D720019751A0F8DD0C5F7BFF1DFBA63AC243FF9ADFF8C2",
        "productCode": "CASH10000001",
        "voucherStatus": "1",
        "faceValue": 200,
        "voucherExtend": "{}"
      }
    ],
    "cardTotalAmount": 600,
    "voucherList": [
      {
        "remainTimes": 1,
        "voucherAmount": 0.01,
        "bindingTime": "20250808143205",
        "useRule": {
          "productSku": {
            "8379": 1
          }
        },
        "voucherCodeUrl": "http://wtest.e-buy.com/lk/mgUGWW5DpE",
        "voucherSource": "ebuyd8c67d371771",
        "memberId": "76d922ce0aef013cb77853ff147e162b",
        "walletId": "c70308612e1a4ea5b1407170e22f0d7a",
        "voucherStatusDesc": "可使用",
        "thirdOpenId": "15952419389",
        "voucherParentType": "exchangeCoupon",
        "tenancyId": 19,
        "voucherName": "七夕宠爱礼盒",
        "phoneNumber": "15952419389",
        "merchantRealAmount": 0.01,
        "updateDate": 1755596927000,
        "productSku": "8379",
        "validEndTime": "20260831235959",
        "voucherDescUrl": "https://test-paas-ui-static.e-buy.com//views/cardVoucher/data/Voucher_10000000070309582.json",
        "voucherCode": "10032924391201985792",
        "productType": "Voucher",
        "createDate": 1754634725000,
        "validStartTime": "20230726000000",
        "voucherType": "exchangeCoupon",
        "packageId": "d13ecff036cc4d13848d7c418e4c51ca",
        "isNew": "1",
        "surfaceUrl": "https://ebuyimg.e-mallchina.com/paas-app-adminauth/20221109095316zFC5I0o3.jpg",
        "voucherScope": "3,8",
        "templateUrl": "https://test-paas-ui-static.e-buy.com/views/cardVoucher/voucherDetail.html?ticketType=Voucher&ticketId=10000000070309582&data=D3E9E4FE9EC78670020D3F55F055FE2F43A2C25BFDA87B2B692E28307DA7E5261312E13B85EB2A114E1116BB386A0F249ADBD4774C174BE1442FC27EE922CA2D31C3E833FE8C57331B5186178D4F15DEE3934350626D6645FA488D13D711349E0D7650C4A4D7425BB5D2B785CBE44F97D15AFCEA12855288BB76DDD32E7E3470F06C226782E91643656D49A055509B5B3F5B0CF2AA2C9636531F0AB254C3E1CE8085622906CC016CE99F839B7593FFC5DD56157AD3A2EF81D8BCF1F38C4770304AD6211BD38CF5A586BBB50CD7F45257D0D8F559742F6D9BF16D2DE3A4C5DA972F786B99A93482CE84603D7246B4F7AE596E23A018EBD1F6F20EC21B0D1727382F46F9B8CED94DCD220C680DAF57919BF7107A4F6BEAE439656D49A055509B5B146BD025FE7188663A1967A8B115A29E6689C0AFBF24B953033F515965ACABFFBDEFEE4C209ED0D46F2234E1841C00B2",
        "productCode": "10000000070309582",
        "voucherStatus": "00",
        "faceValue": 0.01,
        "voucherTypeDesc": "免费产品券",
        "voucherExtend": "{\"tenderCode\":\"EB22110801|298\"}"
      }
    ],
    "totalCount": 20
  },
  "success": true,
  "errorCode": "",
  "errorMessage": "",
  "timestamp": 1756709035100,
  "signType": "sha256",
  "sign": "1da0d517700683791d0784f5112deec7fb1f7777cf558d7efc8c44a5ca5926c8"
}

相关说明

卡券包能力API

【聚合类】领取卡券到卡包

[yapi_interface]43[/yapi_interface]

卡券包能力API

【聚合类】激活卡券并插卡包

[yapi_interface]37218[/yapi_interface]

卡券包能力API

【聚合类】绑定单卡券到卡包

[yapi_interface]33227[/yapi_interface]

卡券包能力API

【安全类】JWT颁发请求令牌

[yapi_interface]35190[/yapi_interface]

卡券包能力API

【资产类】卡券包资产整合

[yapi_interface]35483[/yapi_interface]

卡券包能力API

【资产类】卡包指定资产移除

[yapi_interface]18587[/yapi_interface]

卡券包能力API

【通知类】现金卡状态通知

[yapi_interface]27352[/yapi_interface]

卡券包能力API

【通知类】电子券状态通知

[yapi_interface]29792[/yapi_interface]

卡券包能力API

【资产类】卡包所有资产移除

[yapi_interface]35488[/yapi_interface]

卡券包能力API

【新券标志】查询新券数量

[yapi_interface]35901[/yapi_interface]

卡券包能力API

【新券标志】移除新券标志

[yapi_interface]35902[/yapi_interface]

卡券包能力API

【资产类】恢复删除的卡券

[yapi_interface]35916[/yapi_interface]

卡券包能力API

【通知类】同步卡券产品配置

[yapi_interface]35922[/yapi_interface]

卡券包能力API

【转赠】赠送

[yapi_interface]35453[/yapi_interface]

卡券包能力API

【转赠】领取

[yapi_interface]35454[/yapi_interface]

卡券包能力API

【转赠】撤销

[yapi_interface]35455[/yapi_interface]

卡券包能力API

【转赠】查询转赠详情

[yapi_interface]35459[/yapi_interface]

卡券包能力API

【转赠】查询卡券转赠记录

[yapi_interface]35456[/yapi_interface]

卡系统能力API

电子卡与实体卡制卡(出库)、发卡、交易,储值卡充值、银行卡权益等

卡系统能力API

【交易类】单卡消费交易

[yapi_interface]16652[/yapi_interface]

卡系统能力API

【交易类】当日消费撤销

[yapi_interface]16657[/yapi_interface]

卡系统能力API

【交易类】隔日消费退款

[yapi_interface]18297[/yapi_interface]

卡系统能力API

查询卡余额

[yapi_interface]16567[/yapi_interface]

卡系统能力API

交易记录查询

[yapi_interface]34227[/yapi_interface]

线上支付API

使用易百聚合支付接口,请先联系与您接触服务人员提供对应的appId、密钥、useScene(常见描述:https://book.e-buy.com/books/e-buy-paas-api/page/38af8)。
测试环境地址:https://pay2test.e-pointchina.com/pay3_test
签名请参考: https://book.e-buy.com/books/e-buy-41/page/ad61a

线上支付API

统一下单

[yapi_interface]37506[/yapi_interface]

线上支付API

交易查询

[yapi_interface]37500[/yapi_interface]

线上支付API

申请退款

[yapi_interface]37494[/yapi_interface]

线上支付API

退款查询

[yapi_interface]37488[/yapi_interface]

线上支付API

回调外部交易结果通知

[yapi_interface]37512[/yapi_interface]

易百收银插件api

使用易百收银插件只需要使用接口<获取 TOKEN><拉起收银台>,查询和退款服务器发起。
对接测试地址:https://uat-paas-app-cashier.e-buy.com
建议使用易百提供的jsSDK,下载地址:https://ebuyimg.e-mallchina.com/paas-cashier/ebuyJDK.js
使用示例:https://book.e-buy.com/books/e-buy-paas-api/page/js-sdk

易百收银插件api

获取 TOKEN

[yapi_interface]27872[/yapi_interface]

易百收银插件api

拉起收银台插件

[yapi_interface]28292[/yapi_interface]

易百收银插件api

查询支付交易结果

[yapi_interface]28322[/yapi_interface]

易百收银插件api

交易退款

[yapi_interface]28972[/yapi_interface]

易百收银插件api

用户资产查询

[yapi_interface]29772[/yapi_interface]

易百收银插件api

获取支付渠道

[yapi_interface]28302[/yapi_interface]

订单能力API

商城/在线点餐、购物车下单、订单开票

订单能力API

同步外部订单

[yapi_interface]29782[/yapi_interface]

订单能力API

物流同步接口

[yapi_interface]35731[/yapi_interface]

(废弃)旧支付API

此接口已暂停新客户对接,新客户对接请参考在线支付api地址: https://book.e-buy.com/books/e-buy-paas-api/chapter/api-dML

使用易百聚合支付接口,请先联系与您接触服务人员提供对应的appId、密钥、useScene(常见描述:https://book.e-buy.com/books/e-buy-paas-api/page/38af8)。
测试环境地址:https://uat-paas-gateway.e-buy.com
建议使用易百提供的SDK:https://ebuyimg.e-mallchina.com/paas-cashier/paas-micro-cashier-sdk.jar
SDK示例:https://book.e-buy.com/books/e-buy-paas/page/36366

(废弃)旧支付API

扣款接口

[yapi_interface]27797[/yapi_interface]

(废弃)旧支付API

退款

[yapi_interface]27787[/yapi_interface]

(废弃)旧支付API

统一下单

[yapi_interface]27792[/yapi_interface]

(废弃)旧支付API

支付结果查询

[yapi_interface]27802[/yapi_interface]

(废弃)旧支付API

回调外部交易结果通知

[yapi_interface]28427[/yapi_interface]

(废弃)旧支付API

预支付接口

[yapi_interface]35405[/yapi_interface]

(废弃)旧支付API

支付结果查询-old

[yapi_interface]14960[/yapi_interface]

(废弃)旧支付API

退款查询

[yapi_interface]36114[/yapi_interface]