子商户应用渠道参数说明

一、支付渠道参数说明

alipay 支付宝 App 支付
参数说明
fee_rate optional int渠道签约费率。例如:60代表 0.6% 。
alipay_pid required string合作者身份(PID),对应商户申请的支付宝的 partnerId。
alipay_app_id optional string支付宝商户 AppID。在参数 alipay_version 为 2.0 时,需要传入此参数。
alipay_account required string支付宝账号。
alipay_sign_type optional string商户生成签名字符串所使用的签名算法类型,可选值 "rsa" 或 "rsa2" 。当 alipay_version 为 1 时,此处只能填写 rsa。
alipay_security_key required string支付宝安全校验码(Key)。
alipay_mer_app_private_key required string应用私钥。若 alipay_sign_type 为 rsa,则此字段为必填。
alipay_app_public_key required string支付宝公钥。若 alipay_sign_type 为 rsa,则此字段为必填。
alipay_mer_app_private_key_rsa2 required string应用私钥(RSA2)。若 alipay_sign_type 为 rsa2,则此字段为必填。
alipay_app_public_key_rsa2 required string支付宝公钥(RSA2)。若 alipay_sign_type 为 rsa2,则此字段为必填。
alipay_version optional string支付宝版本,可选值:1、2。1:支付宝1.0接口(mapi);2:支付宝2.0 接口(openapi)。如何区分支付宝1.0 和2.0
alipay_refund_nopwd optional bool是否启用免密接口。支付宝1.0产品:支付宝商家中心 - 我的产品 - 即时到账无密退款V3 若需开通,请访问蚂蚁商家在线服务或拨打支付宝商家服务热线。支付宝2.0产品默认开启此权限。
refund_return_fee optional bool退款是否退还手续费。

alipay_wap 支付宝手机网站支付
参数说明
fee_rate optional int渠道费率,例如:60代表 0.6% 。
alipay_pid required string合作者身份(PID),对应商户申请的支付宝的 partnerId。
alipay_app_id optional string支付宝商户 AppID。在参数 alipay_version 为 2.0 时,需要传入此参数。
alipay_account required string支付宝企业账户(邮箱)。
alipay_sign_type optional string商户生成签名字符串所使用的签名算法类型,可选值 "rsa" 或 "rsa2" 。当 alipay_version 为 1 时,此处只能填写 rsa。
alipay_security_key required string安全校验码(Key)。
alipay_mer_wap_private_key optional string应用私钥。若 alipay_sign_type 为 rsa,则此字段为必填。
alipay_wap_public_key optional string支付宝公钥。若 alipay_sign_type 为 rsa,则此字段为必填。
alipay_mer_wap_private_key_rsa2 optional string应用私钥(RSA2)。若 alipay_sign_type 为 rsa2,则此字段为必填。
alipay_wap_public_key_rsa2 optional string支付宝公钥(RSA2)。若 alipay_sign_type 为 rsa2,则此字段为必填。
alipay_version optional int支付宝版本,可选值:1、2。1:支付宝1.0接口(mapi);2:支付宝2.0 接口(openapi)。如何区分支付宝1.0 和2.0
alipay_refund_nopwd optional bool是否启用免密接口,支付宝1.0产品:支付宝商家中心 - 我的产品 - 即时到账无密退款V3 若需开通,请访问蚂蚁商家在线服务或拨打支付宝商家服务热线。支付宝2.0产品默认开启此权限。
refund_return_fee optional bool退款是否退还手续费。


alipay_lite 支付宝小程序支付
参数说明
fee_rate optional int渠道签约费率,例如:60代表 0.6% 。
alipay_lite_pid required string对应商户申请的支付宝的 partnerId。
alipay_sign_type required string商户生成签名字符串所使用的签名算法类型,可选值 "rsa" 或 "rsa2" 。
alipay_lite_mer_private_key conditional string应用私钥。若 alipay_sign_type 为 rsa,则此字段为必填。
alipay_lite_public_key conditional string支付宝公钥。若 alipay_sign_type 为 rsa,则此字段为必填。
alipay_lite_mer_private_key_rsa2 conditional string应用私钥(RSA2)。若 alipay_sign_type 为 rsa2,则此字段为必填。
alipay_lite_public_key_rsa2 conditional string支付宝公钥。若 alipay_sign_type 为 rsa2,则此字段为必填。
refund_return_fee optional bool退款是否退还手续费,默认 false 不退回。


alipay_pc_direct 支付宝电脑网站支付
参数说明
fee_rate optional int渠道费率,例如:60代表 0.6% 。
refund_return_fee optional bool退款是否退还手续费。
alipay_pid required string合作者身份(PID),对应商户申请的支付宝的 partnerId。
alipay_account required string支付宝企业账户(邮箱)。
alipay_security_key required string安全校验码(Key)。
alipay_private_key required string应用私钥(非 PKCS8 编码)。
alipay_public_key required string支付宝公钥。
alipay_refund_nopwd optional bool是否启用免密接口。支付宝商家中心 - 我的产品 - 即时到账无密退款 V3 若需开通,请访问蚂蚁商家在线服务或拨打支付宝商家服务热线。
alipay_service_type optional int接口名称,可选值:0、1。0 :create_direct_pay_by_user, 1 :公益接口 create_donate_trade_p


alipay_qr 支付宝扫码支付
参数说明
fee_rate optional int渠道签约费率,例如:60代表 0.6% 。
alipay_qr_pid required string对应商户申请的支付宝的 partnerId。
alipay_qr_app_id required string支付宝商户 AppID。
alipay_sign_type optional string商户生成签名字符串所使用的签名算法类型,可选值 "rsa" 或 "rsa2" 。
alipay_qr_mer_private_key required string应用私钥。若 alipay_sign_type 为 rsa,则此字段为必填。
alipay_qr_public_key required string支付宝公钥。若 alipay_sign_type 为 rsa,则此字段为必填。
alipay_qr_mer_private_key_rsa2 required string应用私钥(RSA2)。若 alipay_sign_type 为 rsa2,则此字段为必填。
alipay_qr_public_key_rsa2 required string支付宝公钥。若 alipay_sign_type 为 rsa2,则此字段为必填。
refund_return_fee optional bool退款是否退还手续费。


wx 微信 App 支付
参数说明
wx_app_id required string微信公众号身份的唯一标识。微信开放平台 => 管理中心 => 移动应用 => 查看
wx_mch_id required string商户ID。微信支付申请完成之后,在微信商户平台的通知邮件中获取,请确保邮件上的 AppID 与微信开放平台上的 AppID 一致
wx_key required string商户支付密钥,用于报文签名及验签。微信商户平台 => API 安全 =>设置密钥,将设置的 32 位密钥填入此处
wx_app_secret required string微信appSecret。微信开放平台 => 管理中心 => 移动应用 => 查看
wx_operator_id required string退款操作员ID。微信商户平台 =>员工账号 =>新增员工账号,将员工的登录账号填入此处
wx_client_cert required string微信客户端证书。微信商户平台 => API 安全 => API 证书 =>下载证书
wx_client_key required string微信客户端秘钥。微信商户平台 => API 安全 => API 证书 =>下载证书
fee_rate optional bool渠道签约费率,例如:60代表 0.6%
refund_return_fee optional bool退款是否退还手续费。


wx_pub 微信公众号支付
参数说明
fee_rate optional integer渠道费率,例如:60代表 0.6%
refund_return_fee optional bool退款是否退还手续费。
wx_pub_app_id required string微信公众号AppID(应用 ID),获取地址:微信公众平台 => 开发 => 基本配置
wx_pub_mch_id required string微信支付商户ID.微信公众号支付申请完成之后,在微信商户平台的通知邮件中获取,请确保邮件上的 AppID 与微信公众平台上的 AppID 一致。
wx_pub_key required string商户支付API 密钥,用于报文签名及验签。微信商户平台 => API 安全 => 设置密钥,将设置的 32 位密钥填入此处
wx_pub_app_secret required string应用密钥,用于获取openid。获取地址:微信公众平台 => 开发 => 基本配置
wx_pub_operator_id required string由商户添加的退款操作员ID,用于退款、退款查询。获取地址:微信商户平台 => 员工账号 => 新增员工账号,将员工的登录账号填入此处
wx_pub_client_cert required string微信客户端证书(pem格式,不包含秘钥),用于退款、退款查询。微信商户平台 => API 安全 => API 证书 =>下载证书
wx_pub_client_key required string微信客户端证书秘钥(pem格式),用于退款、退款查询。微信商户平台 => API 安全 => API 证书 =>下载证书


wx_pub_qr 微信扫码支付
参数说明
wx_pub_app_id required string微信公众号AppID(应用 ID),获取地址:微信公众平台 => 开发 => 基本配置
wx_pub_mch_id required string微信支付商户ID。微信公众号支付申请完成之后,在微信商户平台的通知邮件中获取,请确保邮件上的 AppID 与微信公众平台上的 AppID 一致。
wx_pub_key required string商户支付API 密钥,用于报文签名及验签。微信商户平台 => API 安全 => 设置密钥,将设置的 32 位密钥填入此处
wx_pub_app_secret required string应用密钥,用于获取openid。获取地址:微信公众平台 => 开发 => 基本配置
wx_pub_operator_id required string由商户添加的退款操作员ID,用于退款、退款查询。获取地址:微信商户平台 => 员工账号 => 新增员工账号,将员工的登录账号填入此处
wx_pub_client_cert required string微信客户端证书(pem格式,不包含秘钥),用于退款、退款查询。微信商户平台 => API 安全 => API 证书 =>下载证书
wx_pub_client_key required string微信客户端证书秘钥(pem格式),用于退款、退款查询。微信商户平台 => API 安全 => API 证书 =>下载证书
fee_rate optional integer渠道签约费率。例如:60代表 0.6%
refund_return_fee optional bool退款是否退还手续费。


wx_wap 微信 H5 支付
参数说明
fee_rate optional int渠道费率,例如:60代表 0.6%
refund_return_fee optional bool退款是否退还手续费。
wx_wap_app_id required string微信公众号AppID(应用 ID), 获取地址:微信公众平台 => 开发 => 基本配置
wx_wap_mch_id required string微信支付商户ID。微信公众号支付申请完成之后,在微信商户平台的通知邮件中获取,请确保邮件上的 AppID 与微信公众平台上的 AppID 一致。
wx_wap_key required string商户支付API 密钥,用于报文签名及验签。微信商户平台 => API 安全 => 设置密钥,将设置的 32 位密钥填入此处
wx_wap_app_secret required string应用密钥,用于获取openid。获取地址:微信公众平台 => 开发 => 基本配置
wx_wap_operator_id required string由商户添加的退款操作员ID,用于退款、退款查询。获取地址:微信商户平台 => 员工账号 => 新增员工账号,将员工的登录账号填入此处
wx_wap_client_cert required string微信客户端证书(pem格式,不包含秘钥),用于退款、退款查询。微信商户平台 => API 安全 => API 证书 =>下载证书
wx_wap_client_key required string微信客户端证书秘钥(pem格式),用于退款、退款查询。微信商户平台 => API 安全 => API 证书 =>下载证书


wx_lite 微信小程序支付参数 | 说明 --- | --- fee_rate *optional* *int* | 渠道费率,例如:60代表 0.6% refund_return_fee *optional* *bool* | 退款是否退还手续费。 wx_lite_app_id **required** *string* | 小程序 AppID,微信小程序=>设置=>开发设置 wx_lite_mch_id **required** *string* - | 微信支付商户号,申请小程序支付时,若选择使用已有的公众号支付,请填写公众号支付商户号;否则,请在新申请的微信商户平台的通知邮件中获取商户号,确保邮件上的 AppID 与微信小程序的一致 wx_lite_key **required** *string* | API 密钥,微信商户平台 => API 安全 => 设置密钥,将设置的 32 位密钥填入此处 wx_lite_app_secret **required** *string* | 小程序 AppSecret,微信小程序=>设置=>开发设置 wx_lite_operator_id **required** *string* | 员工登录帐号,获取地址:微信商户平台 => 员工账号 => 新增员工账号,将员工的登录账号填入此处 wx_lite_client_cert **required** *string* | API 证书,微信商户平台 => API 安全 => API 证书 =>下载证书 wx_lite_client_key **required** *string* | API 证书密钥,微信商户平台 => API 安全 => API 证书 =>下载证书


upacp 银联手机支付
参数说明
upacp_mer_id required string商户号
upacp_client_cert required string安全证书(pfx 格式)
upacp_client_key optional string安全证书密码
upacp_is_encrypted_paramsoptional bool是否配置敏感数据加密
fee_rate optional int渠道签约费率
refund_return_fee optional bool退款是否退还手续费。


upacp_pc 银联网关支付
参数说明
upacp_mer_id required string银联渠道商户号
upacp_client_cert required string安全证书(pfx 格式)
upacp_client_key optional string安全证书密码,需配置。
upacp_is_encrypted_params optional bool是否配置敏感数据加密
fee_rate optional int渠道签约费率
refund_return_fee optional bool退款是否退还手续费。


upacp_wap 银联手机网站支付
参数说明
upacp_mer_id required string银联渠道商户号
upacp_client_cert required string安全证书(pfx 格式)
upacp_client_key optional string安全证书密码,需配置
upacp_is_encrypted_paramsoptional bool是否配置敏感数据加密
fee_rate optional int渠道签约费率
refund_return_fee optional bool退款是否退还手续费。


cp_b2b 银联电子企业网银支付
参数说明
mer_id required string银联渠道商户号
sign_file required string交易证书
sign_pass required string交易证书密码
verify_file required stringChinaPay 签名校验证书
tran_type required string支付业务类型
fee_rate optional int渠道签约费率
refund_return_fee optional bool退款是否退还手续费。


upacp_b2b 银联企业网银支付
参数说明
upacp_b2b_mer_id required string银联渠道商户号
upacp_b2b_client_cert required string银联企业证书
fee_type optional int费率类型。可选值:2,表示费率为每笔固定值;1,表示百分比费率。默认值为 2
fee_rate optional int渠道签约费率


yeepay_wap 易宝支付
参数说明
fee_rate optional int渠道费率。例如:60代表 0.6%
refund_return_fee optional bool退款是否退还手续费。
yeepay_mer_id required string易宝商户账号编号,易宝商户平台 => 系统管理 => RSA 公钥管理
yeepay_public_key required string易宝 RSA 公钥,易宝商户平台 => 系统管理 => RSA 公钥管理 => 一键生成 RSA 密钥
yeepay_mer_private_key required string商户 RSA 私钥,易宝商户平台 => 系统管理 => RSA 公钥管理 =>一键生成 RSA 密钥


jdpay_wap 京东支付
参数说明
fee_rate optional int渠道费率。例如:60代表 0.6%
refund_return_fee optional bool退款是否退还手续费。
jdpay_mer_id required string京东支付移动端待结算账户,京东钱包企业站 => 资金管理 => 账户查询,一般是 9 位数字商户号 +00X,如 001,002,比如 123456789001
jdpay_des_key required stringDES 密钥,京东钱包企业站 => 安全中心 => 密钥设置
jdpay_md5_key required stringMD5 密钥,京东钱包企业站 => 安全中心 => 密钥设置
jdpay_public_key required string京东支付公钥RSA 公钥,非 PKCS8 编码
jdpay_mer_private_key required string商户私钥(非 PKCS8 编码) ,请联系京东获取 pem 格式的 RSA 私钥
jdpay_version optional string京东支付版本


cmb_wallet 招行一网通
参数说明
fee_rate optional int渠道费率。例如:60代表 0.6%
refund_return_fee optional bool退款是否退还手续费。
cmb_bank_no required string网银编号(招行参数邮件中「企业网银编号」的内容)
cmb_br_id required string分行号,招行参数邮件中「商户号」项目下的前四位数字
cmb_co_id required string商户号,招行参数邮件中「商户号」项目下的后六位数字
cmb_co_password required string商户密码,商户平台重置后的密码
cmb_secret_key required string商户密钥,商户平台 =>商户密钥
cmb_private_key required string商户私钥
cmb_version optional int招行版本


applepay_upacp Apple Pay
参数说明
fee_rate optional int渠道费率。例如:60代表 0.6%
refund_return_fee optional bool退款是否退还手续费。
upacp_mer_id required string银联渠道商户号
upacp_client_cert required string安全证书(pfx 格式)
upacp_client_key optional string安全证书密码
upacp_is_encrypted_params optional bool是否配置敏感数据加密
upacp_merchant_id required stringApple 开发者中心商户 ID
mode optional int是否是测试模式(银联下发的测试模式参数,有别于 Ping++ 测试模式,请注意不要混淆)。0:测试模式,1:正式模式


qpay QQ钱包 App 支付
参数说明
fee_rate optional int渠道费率
refund_return_fee optional bool退款是否退还手续费。
qpay_partner_id required stringQQ 钱包商户号
qpay_partner_key required string商户密钥
qpay_operator_id required string操作员 ID
qpay_operator_pass required string操作员密码
qpay_client_cert required string商户证书
qpay_client_cert_pass required string商户证书密码
qpay_ios_appid optional stringQQ 钱包开放平台 App id (iOS)
qpay_ios_appkey optional stringQQ 钱包开放平台 App Key (iOS)
qpay_android_appid optional stringQQ 钱包开放平台 App id (Android)
qpay_android_appkey optional stringQQ 钱包开放平台 App Key (Android)


qpay_pub QQ钱包公众号支付
参数说明
fee_rate optional int渠道费率
refund_return_fee optional bool退款是否退还手续费。
qpay_pub_partner_id required stringQQ 钱包商户号
qpay_pub_partner_key required string商户密钥
qpay_pub_operator_id required string操作员 ID
qpay_pub_operator_pass required string操作员密码
qpay_pub_client_cert required string商户证书
qpay_pub_client_cert_pass required string商户证书密码
qpay_pub_appid optional stringQQ 钱包开放平台 App ID


bfb_wap 百度钱包
参数说明
fee_rate optional int渠道费率。例如:60代表 0.6%
refund_return_fee optional bool退款是否退还手续费。
bfb_sp required string商户 ID
bfb_key required string百度钱包合作密钥


isv_qr 线下扫码(主扫)
参数说明
fee_rate optional int渠道费率。例如:60代表 0.6%
refund_return_fee optional bool退款是否退还手续费。
mer_id required string商户号
inst_id required string机构号
key required string签名私钥
support_refund required boolean是否支持退款。true:支持;false:不支持


isv_scan 线下扫码(被扫)
参数说明
fee_rate optional int渠道费率。例如:60代表 0.6%
refund_return_fee optional bool退款是否退还手续费。
mer_id required string商户号
inst_id required string机构号
key required string签名私钥
support_refund required boolean是否支持退款。true:支持;false:不支持


isv_wap 线下扫码(固定码)
参数说明
fee_rate optional int渠道费率。例如:60代表 0.6%
refund_return_fee optional bool退款是否退还手续费。
mer_id required string商户号
inst_id required string机构号
key required string签名私钥
support_refund required boolean是否支持退款。true:支持;false:不支持


二、企业付款渠道参数说明

alipay 支付宝企业付款
参数说明
fee_rate optional int渠道签约费率。例如:60代表 0.6% 。
alipay_pid required string合作者身份(PID),对应商户申请的支付宝的 partnerId。
alipay_app_id optional string支付宝商户 AppID。在参数 alipay_version 为 2.0 时,需要传入此参数。
alipay_account required string支付宝账号。
alipay_account_name required string公司名称。
alipay_sign_type optional string商户生成签名字符串所使用的签名算法类型,传 rsa 或 rsa2 其中一种。
alipay_security_key required string支付宝安全校验码(Key)。
alipay_private_key required string应用私钥。若 alipay_sign_type 为 rsa,则此字段为必填。
alipay_public_key required string支付宝公钥。若 alipay_sign_type 为 rsa,则此字段为必填。
alipay_private_key_rsa2 required string应用私钥(RSA2)。若 alipay_sign_type 为 rsa2,则此字段为必填。
alipay_public_key_rsa2 required string支付宝公钥(RSA2)。若 alipay_sign_type 为 rsa2,则此字段为必填。
alipay_version optional string支付宝版本,可选值:1、2。1:支付宝1.0接口(mapi);2:支付宝2.0 接口(openapi)。如何区分支付宝1.0 和2.0


unionpay 银联电子代付
参数说明
fee_type optional int渠道费率类型,可选值:1、2。1:万分比,2:固定金额(单位为分)。
fee_rate optional int渠道签约费率。例如:60代表 0.6% 。
mer_id required string商户号。
priv_key required string银联电子代付私钥。
pub_key required string银联电子代付公钥。


wx_pub 微信公众号企业付款
参数说明
fee_rate optional integer渠道费率,例如:60代表 0.6%
wx_pub_app_id required string微信公众号AppID(应用 ID),获取地址:微信公众平台 => 开发 => 基本配置
wx_pub_mch_id required string微信支付商户ID。微信公众号支付申请完成之后,在微信商户平台的通知邮件中获取,请确保邮件上的 AppID 与微信公众平台上的 AppID 一致。
wx_pub_key required string商户支付 API 密钥,用于报文签名及验签。微信商户平台 => API 安全 => 设置密钥,将设置的 32 位密钥填入此处
wx_pub_app_secret required string应用密钥,用于获取openid。获取地址:微信公众平台 => 开发 => 基本配置
wx_pub_operator_id required string由商户添加的退款操作员ID,用于退款、退款查询。获取地址:微信商户平台 => 员工账号 => 新增员工账号,将员工的登录账号填入此处
wx_pub_client_cert required string微信客户端证书(pem格式,不包含秘钥),用于退款、退款查询。微信商户平台 => API 安全 => API 证书 =>下载证书
wx_pub_client_key required string微信客户端证书秘钥(pem格式),用于退款、退款查询。微信商户平台 => API 安全 => API 证书 =>下载证书


wx_lite 微信小程序企业付款
参数说明
fee_rate optional integer渠道费率,例如:60代表 0.6%
wx_lite_app_id required string小程序 AppID(应用 ID)。获取地址:微信公众平台 => 设置 => 开发设置
wx_lite_mch_id required string微信支付商户 ID。在微信商户平台的通知邮件中获取,请确保邮件上的 AppID 与微信公众平台上的 AppID 一致
wx_lite_key required string商户支付 API 密钥,用于报文签名及验签。微信商户平台 => API 安全 => 设置密钥,将设置的 32 位密钥填入此处
wx_lite_app_secret required string小程序 AppSecret(应用密钥)。获取地址:微信公众平台 => 设置 => 开发设置
wx_lite_operator_id required string由商户添加的退款操作员ID,用于退款、退款查询。获取地址:微信商户平台 => 员工账号 => 新增员工账号,将员工的登录账号填入此处
wx_lite_client_cert required string微信客户端 API 证书(pem格式,不包含秘钥),用于退款、退款查询。微信商户平台 => API 安全 => API 证书 =>下载证书
wx_lite_client_key required string微信客户端 API 证书秘钥(pem格式),用于退款、退款查询。微信商户平台 => API 安全 => API 证书 =>下载证书


jdpay 京东代付
参数说明
fee_type optional int渠道费率类型,可选值:1、2。1:万分比,2:固定金额(单位为分)。
fee_rate optional int渠道费率。例如:60代表 0.6% 。
jdpay_mer_id required string商户号。
jdpay_mer_sign_key required string密钥。
jdpay_mer_public_key required string京东支付公钥 RSA 公钥,非 PKCS8 编码。
jdpay_mer_private_key required string商户私钥(非 PKCS8 编码) ,请联系京东获取 pem 格式的 RSA 私钥。
jdpay_public_key required string京东支付公钥 RSA 公钥。


allinpay 通联代付
参数说明
fee_type optional int渠道费率类型,可选值:1、2。1:万分比,2:固定金额(单位为分)。
fee_rate optional int渠道费率。例如:60代表 0.6% 。
allinpay_mer_id required string商户号。
allinpay_mer_username required string系统对接用户名。
allinpay_mer_password required string商户后台密码。
allinpay_mer_private_key required string私钥证书(p12)。
allinpay_public_key required string公钥证书(cer)。


alipay 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1475029155" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
  "channel": "alipay",
  "params": {
    "alipay_pid": "2088111111111111",
    "alipay_app_id": "2016666666666666",
    "alipay_account": "example@example.com",
    "alipay_security_key": "a5srakrbci3nf1pracb52xcs9xlhu8gu",
    "alipay_mer_app_private_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----",
    "alipay_app_public_key": "-----BEGIN PUBLIC KEY-----  your public key
    -----END PUBLIC KEY-----",
    "alipay_mer_app_private_key_rsa2": null,
    "alipay_app_public_key_rsa2": null,
    "alipay_version": 1,
    "alipay_refund_nopwd": true
  },
  "banned": false,
  "banned_msg": "your banned_msg",
  "description": "Your alipay description"
}'
待补充
待补充
待补充
待补充
待补充
待补充
待补充

返回示例

{
  "object": "channel",
  "channel": "alipay",
  "banned": false,
  "banned_msg": "your banned_msg",
  "created": 1494854723,
  "description": "Your alipay description",
  "params": {
    "fee_rate": null,
    "refund_return_fee": true,
    "alipay_pid": "2088111111111111",
    "alipay_app_id": "2016666666666666",
    "alipay_account": "example@example.com",
    "alipay_security_key": "a5srakrbci3nf1pracb52xcs9xlhu8gu",
    "alipay_mer_app_private_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----",
    "alipay_app_public_key": "-----BEGIN PUBLIC KEY-----  your public key-----END PUBLIC KEY-----",
    "alipay_mer_app_private_key_rsa2": null,
    "alipay_app_public_key_rsa2": null,
    "alipay_version": 1,
    "alipay_refund_nopwd": true
  }
}

alipay_wap 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496917659" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
  "channel": "alipay_wap",
  "banned": false,
  "banned_msg": null,
  "description": "description for channel alipay_wap",
  "params": {
    "fee_rate": 8,
    "refund_return_fee": true,
    "alipay_pid": "2088111111111111",
    "alipay_app_id": "8888888888888888",
    "alipay_account": "user@example.com",
    "alipay_sign_type": "rsa",
    "alipay_security_key": "yp019rfh1jvc4ccrnt5kj75266ezjzaz",
    "alipay_mer_wap_private_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----",
    "alipay_wap_public_key": "-----BEGIN PUBLIC KEY-----  your public key-----END PUBLIC KEY-----",
    "alipay_mer_wap_private_key_rsa2": null,
    "alipay_wap_public_key_rsa2": null,
    "alipay_version": 2,
    "alipay_refund_nopwd": true
  }
}'

返回示例

{
  "object": "channel",
  "channel": "alipay_wap",
  "banned": false,
  "banned_msg": null,
  "created": 1496917659,
  "description": "description for channel alipay_wap",
  "params": {
    "fee_rate": 8,
    "refund_return_fee": true,
    "alipay_pid": "2088111111111111",
    "alipay_app_id": "8888888888888888",
    "alipay_account": "user@example.com",
    "alipay_sign_type": "rsa",
    "alipay_security_key": "yp019rfh1jvc4ccrnt5kj75266ezjzaz",
    "alipay_mer_wap_private_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----",
    "alipay_wap_public_key": "-----BEGIN PUBLIC KEY-----  your public key-----END PUBLIC KEY-----",
    "alipay_mer_wap_private_key_rsa2": null,
    "alipay_wap_public_key_rsa2": null,
    "alipay_version": 2,
    "alipay_refund_nopwd": true
  }
}


alipay_lite 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1475029155" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
    "channel": "alipay_lite",
    "description": "description for channel alipay_lite",
    "params": {
        "fee_rate": 55,
        "refund_return_fee": false,
        "alipay_lite_pid": "2088026666666666",
        "alipay_lite_app_id": "2018111666666666",
        "alipay_sign_type": "rsa2",
        "alipay_lite_mer_private_key": null,
        "alipay_lite_public_key": null,
        "alipay_lite_mer_private_key_rsa2": "-----BEGIN RSA PRIVATE KEY-----xxx-----END RSA PRIVATE KEY-----",
        "alipay_lite_public_key_rsa2": "-----BEGIN PUBLIC KEY-----xxx-----END PUBLIC KEY-----"
    }
}'

返回示例

{
    "object": "channel",
    "channel": "alipay_lite",
    "banned": false,
    "banned_msg": null,
    "created": 1542956006,
    "description": "description for channel alipay_lite",
    "params": {
        "fee_rate": 55,
        "refund_return_fee": false,
        "alipay_lite_pid": "2088026666666666",
        "alipay_lite_app_id": "2018111666666666",
        "alipay_sign_type": "rsa2",
        "alipay_lite_mer_private_key": null,
        "alipay_lite_public_key": null,
        "alipay_lite_mer_private_key_rsa2": "-----BEGIN RSA PRIVATE KEY-----xxx-----END RSA PRIVATE KEY-----",
        "alipay_lite_public_key_rsa2": "-----BEGIN PUBLIC KEY-----xxx-----END PUBLIC KEY-----"
    }
}


alipay_pc_direct 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496917936" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
 "channel": "alipay_pc_direct",
 "banned": false,
 "banned_msg": null,
 "description": "description for channel alipay_pc_direct",
 "params": {
   "fee_rate": 60,
   "refund_return_fee": true,
   "alipay_pid": "2088111111111111",
   "alipay_account": "user@example.com",
   "alipay_security_key": "yp019rfh1jvc4ccrnt5kj75266ezjzaz",
   "alipay_private_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----",
   "alipay_public_key": "-----BEGIN PUBLIC KEY-----  your public key-----END PUBLIC KEY-----",
   "alipay_refund_nopwd": true,
   "alipay_service_type": 0
 }
}'

返回示例

{
  "object": "channel",
  "channel": "alipay_pc_direct",
  "banned": false,
  "banned_msg": null,
  "created": 1496917936,
  "description": "description for channel alipay_pc_direct",
  "params": {
    "fee_rate": 60,
    "refund_return_fee": true,
    "alipay_pid": "2088111111111111",
    "alipay_account": "user@example.com",
    "alipay_security_key": "yp019rfh1jvc4ccrnt5kj75266ezjzaz",
    "alipay_private_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----",
    "alipay_public_key": "-----BEGIN PUBLIC KEY-----  your public key-----END PUBLIC KEY-----",
    "alipay_refund_nopwd": true,
    "alipay_service_type": 0
  }
}


alipay_qr 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1475029155" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
  "channel": "alipay_qr",
  "params": {
    "alipay_qr_pid": "2088111111111111",
    "alipay_qr_app_id": "8888888888888888",
    "alipay_sign_type": "rsa",
    "alipay_qr_mer_private_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----",
    "alipay_qr_public_key": "-----BEGIN PUBLIC KEY-----  your public key-----END PUBLIC KEY-----",
    "alipay_qr_mer_private_key_rsa2": null,
    "alipay_qr_public_key_rsa2": null
  },
  "banned": false,
  "banned_msg": "your banned_msg",
  "description": "Your alipay_qr description"
}'

返回示例

{
  "object": "channel",
  "channel": "alipay_qr",
  "banned": false,
  "banned_msg": "your banned_msg",
  "created": 1494853598,
  "description": "Your alipay_qr description",
  "params": {
    "alipay_qr_pid": "2088111111111111",
    "alipay_qr_app_id": "8888888888888888",
    "alipay_sign_type": "rsa",
    "alipay_qr_mer_private_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----",
    "alipay_qr_public_key": "-----BEGIN PUBLIC KEY-----  your public key-----END PUBLIC KEY-----",
    "alipay_qr_mer_private_key_rsa2": null,
    "alipay_qr_public_key_rsa2": null
  }
}


wx 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1475029155" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
  "channel": "wx",
  "params": {
    "wx_app_id": "wxv2eefqfjfylvtdx3",
    "wx_mch_id": "1266666666",
    "fee_rate": 200,
    "refund_return_fee": true,
    "wx_key": "8v0QFJTOHbZE7d5tG97LZNv5bhrvkpYS",
    "wx_app_secret": "kp9qzseg33lbhgunp2zfgulrbcmmsbfd",
    "wx_operator_id": "operator@1266666666",
    "wx_client_cert": "-----BEGIN CERTIFICATE-----**your cert **-----END CERTIFICATE-----",
    "wx_client_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----"
  },
  "banned": false,
  "banned_msg": "your banned_msg",
  "description": "Your description"
}'

返回示例

{
  "object": "channel",
  "channel": "wx",
  "banned": false,
  "banned_msg": "your banned_msg",
  "created": 1494850516,
  "description": "Your wx channel description",
  "params": {
    "wx_app_id": "wxv2eefqfjfylvtdx3",
    "wx_mch_id": "1266666666",
    "fee_rate": 200,
    "refund_return_fee": true,
    "wx_key": "8v0QFJTOHbZE7d5tG97LZNv5bhrvkpYS",
    "wx_app_secret": "kp9qzseg33lbhgunp2zfgulrbcmmsbfd",
    "wx_operator_id": "operator@1266666666",
    "wx_client_cert": "-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----",
    "wx_client_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----"
  }
}


wx_pub 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496923177" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
  "channel": "wx_pub",
  "banned": false,
  "banned_msg": null,
  "description": "description for channel wx_pub",
  "params": {
    "fee_rate": 60,
    "refund_return_fee": true,
    "wx_pub_app_id": "wxqjztoo4kaxjabcmj",
    "wx_pub_mch_id": "10066666",
    "wx_pub_key": "65F1DD9AA103883118E7A5B076453BCC",
    "wx_pub_app_secret": "1cbdd4af01854247c8202f970ecc81fa",
    "wx_pub_operator_id": "10066666@10066666",
    "wx_pub_client_cert": "-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----",
    "wx_pub_client_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----"
  }
}'

返回示例

{
  "object": "channel",
  "channel": "wx_pub",
  "banned": false,
  "banned_msg": null,
  "created": 1496923177,
  "description": "description for channel wx_pub",
  "params": {
    "fee_rate": 60,
    "refund_return_fee": true,
    "wx_pub_app_id": "wxqjztoo4kaxjabcmj",
    "wx_pub_mch_id": "10066666",
    "wx_pub_key": "65F1DD9AA103883118E7A5B076453BCC",
    "wx_pub_app_secret": "1cbdd4af01854247c8202f970ecc81fa",
    "wx_pub_operator_id": "10066666@10066666",
    "wx_pub_client_cert": "-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----",
    "wx_pub_client_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----"
  }
}


wx_pub_qr 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1475029155" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
  "channel": "wx_pub_qr",
  "params": {
    "wx_pub_app_id": "wx95aa6688abcd22cc",
    "wx_pub_mch_id": "10066666",
    "fee_rate": 60,
    "refund_return_fee": true,
    "wx_pub_key": "g3ev8sxhlt1ppbhaqobsnwkegalqelhk",
    "wx_pub_app_secret": "PLgo4E5QYx6d8dNo1PHOLRssSEJWqQHG",
    "wx_pub_operator_id": "10066666@10088888",
    "wx_pub_client_cert": "-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----",
    "wx_pub_client_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----"
  },
  "banned": false,
  "banned_msg": "your banned_msg",
  "description": "Your description"
}'

返回示例

{
  "object": "channel",
  "channel": "wx_pub_qr",
  "banned": false,
  "banned_msg": "your banned_msg",
  "created": 1494849219,
  "description": "Your description",
  "params": {
    "wx_pub_app_id": "wx95aa6688abcd22cc",
    "wx_pub_mch_id": "10066666",
    "fee_rate": 60,
    "refund_return_fee": true,
    "actual_channel": null,
    "wx_pub_key": "g3ev8sxhlt1ppbhaqobsnwkegalqelhk",
    "wx_pub_app_secret": "PLgo4E5QYx6d8dNo1PHOLRssSEJWqQHG",
    "wx_pub_operator_id": "10066666@10088888",
    "wx_pub_client_cert": "-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----",
    "wx_pub_client_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----"
  }
}


wx_wap 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496925827" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
  "channel": "wx_wap",
  "banned": false,
  "banned_msg": null,
  "description": "description for channel wx_wap",
  "params": {
    "fee_rate": 150,
    "refund_return_fee": true,
    "wx_wap_app_id": "wxqjztoo4kaxjabcmj",
    "wx_wap_mch_id": "10066666",
    "wx_wap_key": "65F1DD9AA103883118E7A5B076453BCC",
    "wx_wap_app_secret": "1cbdd4af01854247c8202f970ecc81fa",
    "wx_wap_operator_id": "10066666@10066666",
    "wx_wap_client_cert": "-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----",
    "wx_wap_client_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----"
  }
}'

返回示例

{
  "object": "channel",
  "channel": "wx_wap",
  "banned": false,
  "banned_msg": null,
  "created": 1496925827,
  "description": "description for channel wx_wap",
  "params": {
    "fee_rate": 150,
    "refund_return_fee": true,
    "wx_wap_app_id": "wxqjztoo4kaxjabcmj",
    "wx_wap_mch_id": "10066666",
    "wx_wap_key": "65F1DD9AA103883118E7A5B076453BCC",
    "wx_wap_app_secret": "1cbdd4af01854247c8202f970ecc81fa",
    "wx_wap_operator_id": "10066666@10066666",
    "wx_wap_client_cert": "-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----",
    "wx_wap_client_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----"
  }
}


wx_lite 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496926039" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
  "channel": "wx_lite",
  "banned": false,
  "banned_msg": null,
  "description": "description for channel wx_lite",
  "params": {
    "fee_rate": 60,
    "refund_return_fee": true,
    "wx_lite_app_id": "wxqjztoo4kaxjabcmj",
    "wx_lite_mch_id": "10066666",
    "wx_lite_key": "65F1DD9AA103883118E7A5B076453BCC",
    "wx_lite_app_secret": "1cbdd4af01854247c8202f970ecc81fa",
    "wx_lite_operator_id": "10066666@10066666",
    "wx_lite_client_cert": "-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----",
    "wx_lite_client_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----"
  }
}'

返回示例

{
  "object": "channel",
  "channel": "wx_lite",
  "banned": false,
  "banned_msg": null,
  "created": 1496926039,
  "description": "description for channel wx_lite",
  "params": {
    "fee_rate": 60,
    "refund_return_fee": true,
    "wx_lite_app_id": "wxqjztoo4kaxjabcmj",
    "wx_lite_mch_id": "10066666",
    "wx_lite_key": "65F1DD9AA103883118E7A5B076453BCC",
    "wx_lite_app_secret": "1cbdd4af01854247c8202f970ecc81fa",
    "wx_lite_operator_id": "10066666@10066666",
    "wx_lite_client_cert": "-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----",
    "wx_lite_client_key": "-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----"
  }
}


upacp 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1475029155" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
 -d '{
  "channel": "upacp",
  "params": {
    "fee_rate": "100",
    "refund_return_fee": true,
    "upacp_mer_id": "808880088888838",
    "upacp_client_cert": "your client cert"
  },
  "banned": false,
  "banned_msg": "your banned_msg",
  "description": "Your upacp description"
}'

返回示例

{
  "object": "channel",
  "channel": "upacp",
  "banned": false,
  "banned_msg": "your banned_msg",
  "created": 1494856019,
  "description": "Your upacp description",
  "params": {
    "refund_return_fee": true,
    "fee_rate": "100",
    "upacp_mer_id": "808880088888838",
    "upacp_client_cert": "Bag Attributes\n localKeyID: 01 00 00 00 \n friendlyName: {12F88888-FFFF-ABCD-6666-02EF666666FF}\n Microsoft CSP Name: Microsoft Enhanced Cryptographic Provider v1.0\nKey Attributes\n X509v3 Key Usage: 10 \n-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----\nBag Attributes\n localKeyID: 01 00 00 00 \nsubject=/C=cn/O=CFCA OCA1/OU=Local RA OCA1/OU=Enterprises/CN=041@8310000000083040@802310048993438:SIGN@00006817\nissuer=/C=CN/O=CFCA OCA1\n-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----\nBag Attributes: <Empty Attributes>\nsubject=/C=CN/O=CFCA CS CA\nissuer=/C=CN/O=CFCA CS CA\n-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----\nBag Attributes: <Empty Attributes>\nsubject=/C=CN/O=CFCA OCA1\nissuer=/C=CN/O=CFCA CS CA\n-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----\""
  }
}


upacp_pc 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1475029155" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
    "channel": "upacp_pc",
    "banned": false,
    "banned_msg": null,
    "description": "description for channel upacp_pc",
    "params": {
        "upacp_mer_id": "808880088888838",
        "fee_rate": 0,
        "refund_return_fee": true,
        "upacp_client_cert":  "your client cert",
        "upacp_client_key": "666666"
    }
}'

返回示例

{
  "object": "channel",
  "channel": "upacp_pc",
  "banned": false,
  "banned_msg": null,
  "created": 1494934478,
  "description": "description for channel upacp_pc",
  "params": {
    "upacp_mer_id": "808880088888838",
    "fee_rate": 0,
    "refund_return_fee": true,
    "upacp_client_cert": "your client cert"",
    "upacp_client_key": "666666"
  }
}


upacp_wap 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1475029155" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
    "channel": "upacp_wap",
    "banned": false,
    "banned_msg": null,
    "description": "description for channel upacp_wap",
    "params": {
        "upacp_mer_id": "808880088888838",
        "fee_rate": 0,
        "refund_return_fee": true,
        "upacp_client_cert":  "your client cert",
        "upacp_client_key": "666666"
    }
}'

返回示例

{
  "object": "channel",
  "channel": "upacp_wap",
  "banned": false,
  "banned_msg": null,
  "created": 1494934478,
  "description": "description for channel upacp_wap",
  "params": {
    "upacp_mer_id": "808880088888838",
    "fee_rate": 0,
    "refund_return_fee": true,
    "upacp_client_cert": "your client cert"",
    "upacp_client_key": "666666"
  }
}


cp_b2b 请求示例

curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496921461" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
    "channel": "cp_b2b",
    "banned": false,
    "banned_msg": null,
    "description": "description for channel cp_b2b",
    "params": {
        "fee_rate": 1000,
        "mer_id": "481611512088888",
        "sign_file": "01101011111011110****",
        "sign_pass": "31466666xxx",
        "verify_file": "-----BEGIN CERTIFICATE-----
        \n<内容省略>\n
        -----END CERTIFICATE-----",
        "tran_type": "0002"
    }
}'

返回示例

{
  "object": "channel",
  "channel": "cp_b2b",
  "banned": false,
  "banned_msg": null,
  "created": 1496921461,
  "description": "description for channel cp_b2b",
  "params": {
    "fee_rate": 1000,
    "refund_return_fee": true,
    "mer_id": "481611512088888",
    "sign_file": "01101011111011110****",
    "sign_pass": "31466666xxx",
    "verify_file": "-----BEGIN CERTIFICATE-----
    \n<内容省略>\n
	 -----END CERTIFICATE-----",
    "tran_type": "0002"
  }
}


upacp_b2b 请求示例

curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496921461" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
    "channel": "upacp_b2b",
    "params": {
        "upacp_b2b_mer_id": "777290058110048",
        "upacp_b2b_client_cert": "-----BEGIN CERTIFICATE-----
        \n<内容省略>\n
        -----END CERTIFICATE-----"
    }
}'

返回示例

{
  "object": "channel",
  "channel": "upacp_b2b",
  "created": 1496921461,
  "description": null,
  "params": {
    "fee_type": 2,
    "fee_rate": 0,
    "refund_return_fee": false,
    "upacp_b2b_mer_id": "777290058000000",
    "upacp_b2b_client_cert": "-----BEGIN CERTIFICATE-----
    \n<内容省略>\n
	 -----END CERTIFICATE-----"
  }
}


yeepay_wap 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496926855" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
  "channel": "yeepay_wap",
  "banned": false,
  "banned_msg": null,
  "description": "description for channel yeepay_wap",
  "params": {
    "fee_rate": 60,
    "refund_return_fee": true,
    "yeepay_mer_id": "10000666666",
    "yeepay_public_key": "your public key"
  }
}'

返回示例

{
  "object": "channel",
  "channel": "yeepay_wap",
  "banned": false,
  "banned_msg": null,
  "created": 1496926855,
  "description": "description for channel yeepay_wap",
  "params": {
    "fee_rate": 60,
    "refund_return_fee": true,
    "yeepay_mer_id": "10000666666",
    "yeepay_public_key": "your public key"
  }
}


jdpay_wap 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496927062" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
    "channel": "jdpay_wap",
    "banned": false,
    "banned_msg": null,
    "description": "description for channel jdpay_wap",
    "params": {
        "fee_rate": 60,
        "refund_return_fee": true,
        "jdpay_mer_id": "110078720001",
        "jdpay_des_key": "wfHHDkY0B9xKDumMJQH35bNrxOVKAZfv",
        "jdpay_md5_key": "wSxKguEzHQjwmRDkEDwmxk1mcpjIUljU",
        "jdpay_public_key": "-----BEGIN PUBLIC KEY-----your public key-----\n",
        "jdpay_mer_private_key": "-----BEGIN RSA PRIVATE KEY-----your private key-----END RSA PRIVATE KEY-----\n",
        "jdpay_version": "2.0"
    }
}'

返回示例

{
  "object": "channel",
  "channel": "jdpay_wap",
  "banned": false,
  "banned_msg": null,
  "created": 1496927062,
  "description": "description for channel jdpay_wap",
  "params": {
    "fee_rate": 60,
    "refund_return_fee": true,
    "jdpay_mer_id": "110078720001",
    "jdpay_des_key": "wfHHDkY0B9xKDumMJQH35bNrxOVKAZfv",
    "jdpay_md5_key": "wSxKguEzHQjwmRDkEDwmxk1mcpjIUljU",
    "jdpay_public_key": "-----BEGIN PUBLIC KEY-----your public key-----END PUBLIC KEY-----",
    "jdpay_mer_private_key": "-----BEGIN RSA PRIVATE KEY-----your private key-----END RSA PRIVATE KEY-----",
    "jdpay_version": "2.0"
  }
}


cmb_wallet 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496928076" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
    "channel": "cmb_wallet",
    "banned": false,
    "banned_msg": null,
    "description": "description for channel cmb_wallet",
    "params": {
        "fee_rate": 0,
        "cmb_bank_no": "00000002",
        "cmb_br_id": "0066",
        "cmb_co_id": "006606",
        "cmb_co_password": "666666",
        "cmb_secret_key": "d4ur4h8Ap4JXGAnZ",
        "cmb_private_key": "your private key-----END RSA PRIVATE KEY-----\n",
        "cmb_version": 1
    }
}'

返回示例

{
  "object": "channel",
  "channel": "cmb_wallet",
  "banned": false,
  "banned_msg": null,
  "created": 1496928076,
  "description": "description for channel cmb_wallet",
  "params": {
    "fee_rate": 0,
    "refund_return_fee": true,
    "cmb_bank_no": "00000002",
    "cmb_br_id": "0066",
    "cmb_co_id": "006606",
    "cmb_co_password": "666666",
    "cmb_secret_key": "d4ur4h8Ap4JXGAnZ",
    "cmb_private_key": "-----BEGIN RSA PRIVATE KEY-----your private key-----END RSA PRIVATE KEY-----",
    "cmb_version": 1
  }
}


applepay_upacp 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496929010" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
  "channel": "applepay_upacp",
  "banned": false,
  "banned_msg": null,
  "description": "description for channel applepay_upacp",
  "params": {
    "fee_rate": 0,
    "upacp_mer_id": "898660666666666",
    "upacp_client_cert": "-----BEGIN CERTIFICATE-----your cert -----END PRIVATE KEY-----",
    "upacp_client_key": "000000",
    "upacp_merchant_id": "merchant.com.xyz",
    "mode": 1
  }
}'

返回示例

{
  "object": "channel",
  "channel": "applepay_upacp",
  "banned": false,
  "banned_msg": null,
  "created": 1496929010,
  "description": "description for channel applepay_upacp",
  "params": {
    "fee_rate": 0,
    "refund_return_fee": true,
    "upacp_mer_id": "898660666666666",
    "upacp_client_cert": "-----BEGIN CERTIFICATE-----your cert-----END PRIVATE KEY-----",
    "upacp_client_key": "000000",
    "upacp_merchant_id": "merchant.com.xyz",
    "mode": 1
  }
}


qpay 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496929010" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
    "channel": "qpay",
    "banned": false,
    "banned_msg": null,
    "description": "description for channel qpay",
    "params": {
        "fee_rate": 100,
        "refund_return_fee": true,
        "qpay_partner_id": "1900066666",
        "qpay_partner_key": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "qpay_operator_id": "1900066688",
        "qpay_operator_pass": "1900068866",
        "qpay_client_cert": "-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----\n-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----",
        "qpay_client_cert_pass": "1399484801",
        "qpay_ios_appid": "1106688666",
        "qpay_ios_appkey": "9e1e06ec8e0A1B2c3",
        "qpay_android_appid": "1106688666",
        "qpay_android_appkey": "9e1e06ec8e0A1B2c3"
    }
}

返回示例

{
  "object": "channel",
  "channel": "qpay",
  "banned": false,
  "banned_msg": null,
  "created": 1496929529,
  "description": "description for channel qpay",
  "params": {
    "fee_rate": 100,
    "refund_return_fee": true,
    "qpay_partner_id": "1900066666",
    "qpay_partner_key": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
    "qpay_operator_id": "1900066688",
    "qpay_operator_pass": "1900068866",
    "qpay_client_cert": "-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----\n-----BEGIN PRIVATE KEY-----  your private key-----END PRIVATE KEY-----",
    "qpay_client_cert_pass": "1399484801",
    "qpay_ios_appid": "1106688666",
    "qpay_ios_appkey": "9e1e06ec8e0A1B2c3",
    "qpay_android_appid": "1106688666",
    "qpay_android_appkey": "9e1e06ec8e0A1B2c3"
  }
}


qpay_pub 请求示例

curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496929010" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
    "channel": "qpay_pub",
    "params": {
        "fee_rate": 60,
        "qpay_pub_partner_id": "1326836123",
        "qpay_pub_partner_key": "c1236b0536ec19d3vfc39504fe1410f4",
        "qpay_pub_operator_id": "1312334567027",
        "qpay_pub_operator_pass": "operatorpassword",
        "qpay_pub_client_cert": "-----BEGIN CERTIFICATE-----
        \n<内容省略>\n
        -----END PRIVATE KEY-----"
    }
}'

返回示例

{
    "object": "channel",
    "channel": "qpay_pub",
    "banned": false,
    "banned_msg": null,
    "created": 1503573380,
    "description": null,
    "params": {
        "fee_rate": 60,
        "refund_return_fee": true,
        "qpay_pub_appid": null,
        "qpay_pub_partner_id": "1326836745",
        "qpay_pub_partner_key": "c7226b0536ec19d3vfc39504fe1410f4",
        "qpay_pub_operator_id": "1352234567027",
        "qpay_pub_operator_pass": "operatorpassword",
        "qpay_pub_client_cert": "-----BEGIN CERTIFICATE-----
        \n<内容省略>\n
        -----END PRIVATE KEY-----",
        "qpay_pub_client_cert_pass": null
    }
}


bfb_wap 请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496921004" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
  "channel": "bfb_wap",
  "banned": false,
  "banned_msg": null,
  "description": "description for channel bfb_wap",
  "params": {
    "fee_rate": 60,
    "refund_return_fee": true,
    "bfb_sp": "1500300666",
    "bfb_key": "HKaX9Ozz5SGKeLuHiLCm50K8bz5KTuLm"
  }
}'

返回示例

{
  "object": "channel",
  "channel": "bfb_wap",
  "banned": false,
  "banned_msg": null,
  "created": 1496921004,
  "description": "description for channel bfb_wap",
  "params": {
    "bfb_sp": "1500300666",
    "fee_rate": 60,
    "refund_return_fee": true,
    "bfb_key": "HKaX9Ozz5SGKeLuHiLCm50K8bz5KTuLm"
  }
}


isv_qr 请求示例

curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496930949" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
  "channel": "isv_qr_cil",
  "banned": false,
  "banned_msg": null,
  "description": "description for channel isv_qr_cil",
  "params": {
    "fee_rate": 16,
    "refund_return_fee": true,
    "mer_id": "288880088880008",
    "inst_id": "98888888",
    "key": "eae4c4426b73e26e48dacf0fd6e9a9e1",
    "support_refund": true
  }
}'

返回示例

{
  "object": "channel",
  "channel": "isv_qr_cil",
  "banned": false,
  "banned_msg": null,
  "created": 1496930949,
  "description": "description for channel isv_qr_cil",
  "params": {
    "fee_rate": 16,
    "refund_return_fee": true,
    "mer_id": "288880088880008",
    "inst_id": "98888888",
    "key": "eae4c4426b73e26e48dacf0fd6e9a9e1",
    "support_refund": true
  }
}


isv_scan 请求示例

curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496931036" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
  "channel": "isv_scan_cil",
  "banned": false,
  "banned_msg": null,
  "description": "description for channel qpay",
  "params": {
    "fee_rate": 16,
    "mer_id": "288880088880008",
    "inst_id": "98888888",
    "key": "eae4c4426b73e26e48dacf0fd6e9a9e1",
    "support_refund": true
  }
}'

返回示例

{
  "object": "channel",
  "channel": "isv_scan_cil",
  "banned": false,
  "banned_msg": null,
  "created": 1496931036,
  "description": "description for channel qpay",
  "params": {
    "fee_rate": 16,
    "refund_return_fee": true,
    "mer_id": "288880088880008",
    "inst_id": "98888888",
    "key": "eae4c4426b73e26e48dacf0fd6e9a9e1",
    "support_refund": true
  }
}


isv_wap 请求示例

curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1496934031" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
  "channel": "isv_wap_cil",
  "banned": false,
  "banned_msg": null,
  "description": "description for channel isv_wap_cil",
  "params": {
    "fee_rate": 16,
    "mer_id": "288880088880008",
    "inst_id": "98888888",
    "key": "eae4c4426b73e26e48dacf0fd6e9a9e1",
    "support_refund": true
  }
}'

返回示例

{
  "object": "channel",
  "channel": "isv_wap_cil",
  "banned": false,
  "banned_msg": null,
  "created": 1496934031,
  "description": "description for channel isv_wap_cil",
  "params": {
    "fee_rate": 16,
    "refund_return_fee": true,
    "mer_id": "288880088880008",
    "inst_id": "98888888",
    "key": "eae4c4426b73e26e48dacf0fd6e9a9e1",
    "support_refund": true
  }
}


alipay 企业付款请求示例

curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/transfer_channels \
-H "Pingplusplus-Request-Timestamp: 1501207993" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
    "channel": "alipay",
    "params": {
        "fee_rate": 3,
        "alipay_app_id": "2016666666666666",
        "alipay_pid": "2088111111111111",
        "alipay_account": "example@example.com",
        "alipay_account_name": "Your Account Name",
        "alipay_sign_type": "rsa",
        "alipay_security_key": "a5srakrbci3nf1pracb52xcs9xlhu8gu",
        "alipay_private_key": "-----BEGIN PRIVATE KEY-----
        \n<内容省略>\n
		  	-----END PRIVATE KEY-----",
        "alipay_public_key": "-----BEGIN PUBLIC KEY-----
        \n<内容省略>\n
			-----END PUBLIC KEY-----",
        "alipay_private_key_rsa2": "-----BEGIN PRIVATE KEY-----
        \n<内容省略>\n
			-----END PRIVATE KEY-----",
        "alipay_public_key_rsa2": "-----BEGIN PUBLIC KEY-----
        \n<内容省略>\n
			-----END PUBLIC KEY-----",
        "alipay_version": 2
    },
    "banned": false,
    "banned_msg": null,
    "description": "description for channel alipay"
}'
待补充
待补充
待补充
待补充
待补充
待补充
待补充

返回示例

{
    "object": "channel",
    "channel": "alipay",
    "banned": false,
    "banned_msg": null,
    "created": 1501207993,
    "description": "description for channel alipay",
    "params": {
        "fee_rate": 3,
        "alipay_app_id": "2016666666666666",
        "alipay_pid": "2088111111111111",
        "alipay_account": "example@example.com",
        "alipay_account_name": "Your Account Name",
        "alipay_sign_type": "rsa",
        "alipay_security_key": "a5srakrbci3nf1pracb52xcs9xlhu8gu",
        "alipay_private_key": "-----BEGIN PRIVATE KEY-----
        \n<内容省略>\n
			-----END PRIVATE KEY-----",
        "alipay_public_key": "-----BEGIN PUBLIC KEY-----
        \n<内容省略>\n
			-----END PUBLIC KEY-----",
        "alipay_private_key_rsa2": "-----BEGIN PRIVATE KEY-----
        \n<内容省略>\n
			-----END PRIVATE KEY-----",
        "alipay_public_key_rsa2": "-----BEGIN PUBLIC KEY-----
        \n<内容省略>\n
			-----END PUBLIC KEY-----",
        "alipay_version": 2
    }
}


unionpay 企业付款请求示例

curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/transfer_channels \
-H "Pingplusplus-Request-Timestamp: 1500990342" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
    "channel": "unionpay",
    "params": {
        "fee_type": 2,
        "fee_rate": 2,
        "mer_id": "898660666666666",
        "priv_key": "[NetPayClient]\nMERID=898660666666123\nprikeyS=\nprikeyE=36****",
        "pub_key": "[NetPayClient]\nPGID=999999999999123\npubkeyS=39****"
    },
    "banned": false,
    "banned_msg": null,
    "description": "description for channel unionpay"
}'
待补充
待补充
待补充
待补充
待补充
待补充
待补充

返回示例

{
    "object": "channel",
    "channel": "unionpay",
    "banned": false,
    "banned_msg": null,
    "created": 1500990342,
    "description": "description for channel unionpay",
    "params": {
        "fee_type": 2,
        "fee_rate": 2,
        "mer_id": "898660666666666",
        "priv_key": "[NetPayClient]\nMERID=898660666666123\nprikeyS=\nprikeyE=36****",
        "pub_key": "[NetPayClient]\nPGID=999999999999123\npubkeyS=393****"
    }
}


wx_pub 企业付款请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/transfer_channels \
-H "Pingplusplus-Request-Timestamp: 1496923177" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
  "channel": "wx_pub",
  "banned": false,
  "banned_msg": null,
  "description": "description for channel wx_pub",
  "params": {
    "fee_rate": 60,
    "wx_pub_app_id": "wxqjztoo4kaxjabcmj",
    "wx_pub_mch_id": "10066666",
    "wx_pub_key": "65F1DD9AA103883118E7A5B076453BCC",
    "wx_pub_app_secret": "1cbdd4af01854247c8202f970ecc81fa",
    "wx_pub_operator_id": "10066666@10066666",
    "wx_pub_client_cert": "-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----",
    "wx_pub_client_key": "-----BEGIN PRIVATE KEY-----your private key-----END PRIVATE KEY-----"
  }
}'

返回示例

{
  "object": "channel",
  "channel": "wx_pub",
  "banned": false,
  "banned_msg": null,
  "created": 1496923177,
  "description": "description for channel wx_pub",
  "params": {
    "fee_rate": 60,
    "wx_pub_app_id": "wxqjztoo4kaxjabcmj",
    "wx_pub_mch_id": "10066666",
    "wx_pub_key": "65F1DD9AA103883118E7A5B076453BCC",
    "wx_pub_app_secret": "1cbdd4af01854247c8202f970ecc81fa",
    "wx_pub_operator_id": "10066666@10066666",
    "wx_pub_client_cert": "-----BEGIN CERTIFICATE-----your cert -----END CERTIFICATE-----",
    "wx_pub_client_key": "-----BEGIN PRIVATE KEY-----your private key-----END PRIVATE KEY-----"
  }
}


wx_lite 企业付款请求示例

curl https://api.pingxx.com/v1/apps/app_LibTW1n1SOq9Pin1/sub_apps/app_GaDuf99evvfTi5Wb/transfer_channels \
-H "Pingplusplus-Request-Timestamp: 1496923177" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '{
    "channel": "wx_lite",
    "params": {
        "fee_rate": 60,
        "wx_lite_app_id": "wxf1b140611016a216",
        "wx_lite_mch_id": "1328932817",
        "wx_lite_key": "lGKgtjClGY83o9bDBaiim5A8uxn6ZwO7",
        "wx_lite_app_secret": "afb0a23ad473e4fc3c5545ec3cd96345",
        "wx_lite_operator_id": "operator@1328932817",
        "wx_lite_client_cert": "-----BEGIN CERTIFICATE-----\n<内容省略>\n-----END CERTIFICATE-----",
        "wx_lite_client_key": "-----BEGIN PRIVATE KEY-----\n<内容省略>\n-----END PRIVATE KEY-----"
    },
    "banned": false,
    "banned_msg": null,
    "description": ""
}'

返回示例

{
  "object": "channel",
  "channel": "wx_pub",
  "banned": false,
  "banned_msg": null,
  "created": 1496923177,
  "description": "",
  "params": {
        "fee_rate": 60,
        "wx_lite_app_id": "wxf1b140611016a216",
        "wx_lite_mch_id": "1328932817",
        "wx_lite_key": "lGKgtjClGY83o9bDBaiim5A8uxn6ZwO7",
        "wx_lite_app_secret": "afb0a23ad473e4fc3c5545ec3cd96345",
        "wx_lite_operator_id": "operator@1328932817",
        "wx_lite_client_cert": "-----BEGIN CERTIFICATE-----\n<内容省略>\n-----END CERTIFICATE-----",
        "wx_lite_client_key": "-----BEGIN PRIVATE KEY-----\n<内容省略>\n-----END PRIVATE KEY-----"
    }
}


jdpay 企业付款请求示例

curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/transfer_channels \
-H "Pingplusplus-Request-Timestamp: 1501409444" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '
{
  "channel": "jdpay_transfer",
  "params": {
    "fee_type": 2,
    "fee_rate": 100,
    "jdpay_mer_id": "366666662767266616",
    "jdpay_public_key": "-----BEGIN CERTIFICATE-----\nMII****\n-----END CERTIFICATE-----",
    "jdpay_mer_sign_key": "366666662767266616abc",
    "jdpay_mer_public_key": "-----BEGIN CERTIFICATE-----\nMII****n-----END PRIVATE KEY-----",
    "jdpay_mer_private_key": "-----BEGIN CERTIFICATE-----\nMII****n-----END PRIVATE KEY-----"
  },
  "banned": false,
  "banned_msg": null,
  "description": "description for channel jdpay"
}
'

返回示例

{
    "object": "channel",
    "channel": "jdpay_transfer",
    "banned": false,
    "banned_msg": null,
    "created": 1501409444,
    "description": "description for channel jdpay",
    "params": {
        "fee_type": 2,
        "fee_rate": 100,
        "jdpay_mer_id": "366666662767266616",
        "jdpay_public_key": "-----BEGIN CERTIFICATE-----\nMII****\n-----END CERTIFICATE-----",
        "jdpay_mer_sign_key": "366666662767266616abc",
        "jdpay_mer_public_key": "-----BEGIN CERTIFICATE-----\nMII****\n-----END CERTIFICATE-----",
        "jdpay_mer_private_key": "-----BEGIN PRIVATE KEY-----\nMIIC****\n-----END PRIVATE KEY-----"
    }


allinpay 企业付款请求示例

curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/transfer_channels \
-H "Pingplusplus-Request-Timestamp: 1501410563" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqP****: \
-d '
{
    "channel": "allinpay",
    "params": {
        "fee_type": 2,
        "fee_rate": 100,
        "allinpay_mer_id": "266566666666662",
        "allinpay_mer_username": "26656666666666264",
        "allinpay_mer_password": "111111",
        "allinpay_public_key": "-----BEGIN CERTIFICATE-----\nMII****\n-----END CERTIFICATE-----",
        "allinpay_mer_private_key": "Bag Attributes\n    localKeyID: 48 10 B9 F7 BE C5 6D 6C C2 8B AE 51 9E 6C AC AD E5 95 D6 97 \n    friendlyName: 266566666666662\nKey Attributes: <No Attributes>\n-----BEGIN PRIVATE KEY-----\nMII****\n-----END PRIVATE KEY-----"
    },
    "banned": false,
    "banned_msg": null,
    "description": "description for channel allinpay"
}
'

返回示例

{
    "object": "channel",
    "channel": "allinpay",
    "banned": false,
    "banned_msg": null,
    "created": 1501410563,
    "description": "description for channel allinpay",
    "params": {
        "fee_type": 2,
        "fee_rate": 100,
        "allinpay_mer_id": "266566666666662",
        "allinpay_mer_username": "26656666666666264",
        "allinpay_mer_password": "111111",
        "allinpay_public_key": "-----BEGIN CERTIFICATE-----\nMII****\n-----END CERTIFICATE-----",
        "allinpay_mer_private_key": "Bag Attributes\n    localKeyID: 48 10 B9 F7 BE C5 6D 6C C2 8B AE 51 9E 6C AC AD E5 95 D6 97 \n    friendlyName: 266566666666662\nKey Attributes: <No Attributes>\n-----BEGIN PRIVATE KEY-----\nMII****\n-----END PRIVATE KEY-----"
    }
}