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、alipay_scan 请求示例
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_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_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、wx_pub_qr、wx_pub_scan 请求示例
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_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_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_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_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_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"
}
}
upacp_qr、upacp_scan 请求示例
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_qr",
"params": {
"fee_rate": 10,
"credit_fee_rate": 2,
"refund_return_fee": false,
"upacp_qr_mer_id": "82105324816****",
"upacp_qr_client_cert": "-----BEGIN CERTIFICATE-----***\n-----END CERTIFICATE-----\n-----BEGIN PRIVATE KEY-----\n***\n-----END PRIVATE KEY-----\n-----BEGIN CERTIFICATE-----\n***n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\n***-----END CERTIFICATE-----"
}
}'
返回示例
{
"object": "channel",
"channel": "upacp_qr",
"banned": false,
"banned_msg": null,
"created": 1544596282,
"description": null,
"params": {
"fee_rate": 10,
"credit_fee_rate": 2,
"refund_return_fee": false,
"upacp_qr_mer_id": "82105324816****",
"upacp_qr_client_cert": "-----BEGIN CERTIFICATE-----***\n-----END CERTIFICATE-----\n-----BEGIN PRIVATE KEY-----\n***\n-----END PRIVATE KEY-----\n-----BEGIN CERTIFICATE-----\n***n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\n***-----END CERTIFICATE-----"
}
}
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
}
}
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
}
}
cmb_pc_qr 请求示例
curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1544598820" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqPW9KC: \
-d '{
"channel": "cmb_pc_qr",
"banned": false,
"banned_msg": null,
"description": "description for channel cmb_pc_qr",
"params": {
"cmb_br_id": "0066",
"cmb_co_id": "006606",
"cmb_co_password": "666666",
"cmb_secret_key": "d4ur4h8Ap4JXGAnZ"
}
}'
返回示例
{
"object": "channel",
"channel": "cmb_pc_qr",
"banned": false,
"banned_msg": null,
"created": 1544598820,
"description": "description for channel cmb_pc_qr",
"params": {
"fee_rate": null,
"refund_return_fee": true,
"cmb_br_id": "0066",
"cmb_co_id": "006606",
"cmb_co_password": "666666",
"cmb_secret_key": "d4ur4h8Ap4JXGAnZ"
}
}
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_cil 请求示例
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_cil 请求示例
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_cil 请求示例
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
}
}
cb_wx 请求示例
curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1550026144" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqPW9KC: \
-d '{
"channel": "cb_wx",
"banned": false,
"params": {
"fee_rate": 60,
"cb_wx_app_id": "wx4faaabb09f886888",
"cb_wx_mch_id": "1428888888",
"cb_wx_key": "khzmm0IuGvhNOEEMqoTZILcKNZTyunoc",
"cb_wx_app_secret": "0aaffaaabbcccefbb0beec66fce0aabb",
"cb_wx_client_cert": "-----BEGIN CERTIFICATE-----\nMIIFFjxxx==\n-----END CERTIFICATE-----\n",
"cb_wx_client_key": "-----BEGIN PRIVATE KEY-----\nMxxx\/\n-----END PRIVATE KEY-----\n"
}
}'
返回示例
{
"object": "channel",
"channel": "cb_wx",
"banned": false,
"banned_msg": null,
"created": 1550026144,
"description": null,
"params": {
"fee_rate": 60,
"refund_return_fee": true,
"cb_wx_app_id": "wx4faaabb09f886888",
"cb_wx_mch_id": "1428888888",
"cb_wx_key": "khzmm0IuGvhNOEEMqoTZILcKNZTyunoc",
"cb_wx_app_secret": "0aaffaaabbcccefbb0beec66fce0aabb",
"cb_wx_operator_id": null,
"cb_wx_client_cert": "-----BEGIN CERTIFICATE-----\nxxx=\n-----END CERTIFICATE-----",
"cb_wx_client_key": "-----BEGIN PRIVATE KEY-----\nMIxxx\n-----END PRIVATE KEY-----"
}
}
cb_wx_pub 请求示例
curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1550026144" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqPW9KC: \
-d '{
"channel": "cb_wx_pub",
"banned": false,
"params": {
"fee_rate": 60,
"cb_wx_app_id": "wx4faaabb09f886888",
"cb_wx_mch_id": "1428888888",
"cb_wx_key": "khzmm0IuGvhNOEEMqoTZILcKNZTyunoc",
"cb_wx_app_secret": "0aaffaaabbcccefbb0beec66fce0aabb",
"cb_wx_client_cert": "-----BEGIN CERTIFICATE-----\nMIIFFjxxx==\n-----END CERTIFICATE-----\n",
"cb_wx_client_key": "-----BEGIN PRIVATE KEY-----\nMxxx\/\n-----END PRIVATE KEY-----\n"
}
}'
返回示例
{
"object": "channel",
"channel": "cb_wx_pub",
"banned": false,
"banned_msg": null,
"created": 1550026144,
"description": null,
"params": {
"fee_rate": 60,
"transaction_fee": 0,
"refund_return_fee": true,
"cb_wx_app_id": "wx4faaabb09f886888",
"cb_wx_mch_id": "1428888888",
"cb_wx_key": "khzmm0IuGvhNOEEMqoTZILcKNZTyunoc",
"cb_wx_app_secret": "0aaffaaabbcccefbb0beec66fce0aabb",
"cb_wx_operator_id": null,
"cb_wx_client_cert": "-----BEGIN CERTIFICATE-----\nxxx=\n-----END CERTIFICATE-----",
"cb_wx_client_key": "-----BEGIN PRIVATE KEY-----\nMIxxx\n-----END PRIVATE KEY-----"
}
}
cb_alipay 请求示例
curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1550027731" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqPW9KC: \
-d '{
"channel": "cb_alipay",
"banned": false,
"params": {
"fee_rate": 15,
"cb_alipay_pid": "2088666666666666",
"cb_alipay_mer_private_key": "-----BEGIN PRIVATE KEY-----\xxx\n-----END PRIVATE KEY-----",
"cb_alipay_public_key": "-----BEGIN PUBLIC KEY-----\nxxxB\n-----END PUBLIC KEY-----",
"refund_return_fee": true
}
}'
待补充
待补充
待补充
待补充
待补充
待补充
待补充
返回示例
{
"object": "channel",
"channel": "cb_alipay",
"banned": false,
"banned_msg": null,
"created": 1550027731,
"description": null,
"params": {
"fee_rate": 15,
"refund_return_fee": true,
"cb_alipay_pid": "2088666666666666",
"cb_alipay_mer_private_key": "-----BEGIN PRIVATE KEY-----\nxxx\n-----END PUBLIC KEY-----"
}
}
cb_alipay_wap 请求示例
curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1550027731" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqPW9KC: \
-d '{
"channel": "cb_alipay_wap",
"actual_channel": "cb_alipay_wap_acquirer",
"actual_channel_id": 9011809251407139620,
"params": {
"fee_rate": 60,
"refund_return_fee": true,
"transaction_fee": 10,
"cb_alipay_pid": null,
"cb_alipay_mer_private_key": null,
"cb_alipay_public_key": null,
"cb_alipay_mch_id": "3115362034433636",
"cb_alipay_mch_name": "Alipay International, Inc.",
"cb_alipay_mcc": "5699",
"cb_alipay_sftp_user_name": "username",
"cb_alipay_sftp_user_pwd": "password"
}
}'
返回示例
{
"object": "channel",
"channel": "cb_alipay_wap",
"banned": false,
"banned_msg": null,
"created": 1550028249,
"description": null,
"params": {
"fee_rate": 60,
"refund_return_fee": true,
"transaction_fee": 10,
"cb_alipay_pid": null,
"cb_alipay_mer_private_key": null,
"cb_alipay_public_key": null,
"cb_alipay_mch_id": "3115362034433636",
"cb_alipay_mch_name": "Alipay International, Inc.",
"cb_alipay_mcc": "5699",
"cb_alipay_sftp_user_name": "username",
"cb_alipay_sftp_user_pwd": "password"
},
"actual_channel": "cb_alipay_wap_acquirer",
"actual_channel_id": "9011809251407139620"
}
cb_alipay_pc_direct 请求示例
curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1550027731" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqPW9KC: \
-d '{
"channel": "cb_alipay_pc_direct",
"banned": false,
"actual_channel": "cb_alipay_pc_direct_acquirer",
"actual_channel_id": 9011808301049350000,
"params": {
"fee_rate": 15,
"transaction_fee": 100,
"refund_return_fee": true,
"cb_alipay_pid": "2088866886666666",
"cb_alipay_mer_private_key": "-----BEGIN PRIVATE KEY-----\nxxx\n-----END PRIVATE KEY-----",
"cb_alipay_public_key": "-----BEGIN PUBLIC KEY-----\nxxx\n-----END PUBLIC KEY-----",
"cb_alipay_mch_id": "PINGXX002",
"cb_alipay_mch_name": "TEST002",
"cb_alipay_mcc": "5310",
"cb_alipay_sftp_user_name": "test",
"cb_alipay_sftp_user_pwd": "123456"
}
}'
返回示例
{
"object": "channel",
"channel": "cb_alipay_pc_direct",
"banned": false,
"banned_msg": null,
"created": 1550028052,
"description": null,
"params": {
"fee_rate": 15,
"transaction_fee": 100,
"refund_return_fee": true,
"cb_alipay_pid": "2088866886666666",
"cb_alipay_mer_private_key": "-----BEGIN PRIVATE KEY-----\nMIxxxno\n-----END PRIVATE KEY-----",
"cb_alipay_public_key": "-----BEGIN PUBLIC KEY-----\nMxxxAB\n-----END PUBLIC KEY-----",
"cb_alipay_mch_id": "PINGXX002",
"cb_alipay_mch_name": "TEST002",
"cb_alipay_mcc": "5310",
"cb_alipay_sftp_user_name": "test",
"cb_alipay_sftp_user_pwd": "123456"
},
"actual_channel": "cb_alipay_pc_direct_acquirer",
"actual_channel_id": "9011808301049350000"
}
cb_alipay_scan 请求示例
curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1550027731" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqPW9KC: \
-d '{
"channel": "cb_alipay_scan",
"actual_channel": "cb_alipay_scan_acquirer",
"actual_channel_id": 9011809051758396000,
"params": {
"fee_rate": 15,
"transaction_fee": 10,
"refund_return_fee": true,
"cb_alipay_pid": "2088866886666666",
"cb_alipay_mer_private_key": "-----BEGIN PRIVATE KEY-----\nMIICxxx-----END PRIVATE KEY-----",
"cb_alipay_public_key": "-----BEGIN PUBLIC KEY-----\nxxx\n-----END PUBLIC KEY-----",
"cb_alipay_mch_id": "3115361196130000",
"cb_alipay_mch_name": "PingPlusPlus",
"cb_alipay_mcc": "7399",
"cb_alipay_store_id": "PPP-PingPlusPlus",
"cb_alipay_store_name": "PingPP Test",
"cb_alipay_sftp_user_name": "user_name",
"cb_alipay_sftp_user_pwd": "password"
}
}'
返回示例
{
"object": "channel",
"channel": "cb_alipay_scan",
"banned": false,
"banned_msg": null,
"created": 1550028406,
"description": null,
"params": {
"fee_rate": 15,
"transaction_fee": 10,
"refund_return_fee": true,
"cb_alipay_pid": "2088866886666666",
"cb_alipay_mer_private_key": "-----BEGIN PRIVATE KEY-----\nMIxxxo\n-----END PRIVATE KEY-----",
"cb_alipay_public_key": "-----BEGIN PUBLIC KEY-----\xxxB\n-----END PUBLIC KEY-----",
"cb_alipay_mch_id": "3115361196130000",
"cb_alipay_mch_name": "PingPlusPlus",
"cb_alipay_mcc": "7399",
"cb_alipay_store_id": "PPP-PingPlusPlus",
"cb_alipay_store_name": "PingPP Test",
"cb_alipay_sftp_user_name": "user_name",
"cb_alipay_sftp_user_pwd": "password"
},
"actual_channel": "cb_alipay_scan_acquirer",
"actual_channel_id": "9011809051758396000"
}
paypal 请求示例
curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/sub_apps/app_GaDuf99evvfTi5Wb/channels \
-H "Pingplusplus-Request-Timestamp: 1550026144" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_live_ibbTe5jLGCi5rzfH4OqPW9KC: \
-d '{
"channel": "paypal",
"params": {
"fee_rate": 180,
"paypal_client_id": "AV3QXZLFKDkc44RJxy3jzcbwUHOjgV0J4aZoEjHmiG1P7OICJqciluUQRngYyodUMCP6AKMIsW3c3XAt",
"paypal_secret": "EDTL9oVMNN9Z8roK39LbKGT9bPzaa4-o0PKNUf3nzmaNCleio4gna78um7xjONga3M0ULfN5djOphk43",
"paypal_merchant_id": "RUR43F69Hxxxx",
"paypal_bn_code": "Ping_SI_Other_PayPal",
"paypal_webhook_id": "25A41686TT9360000",
"transaction_fee": 60,
"refund_return_fee": true
}
}'
返回示例
{
"object": "channel",
"channel": "paypal",
"banned": false,
"banned_msg": null,
"created": 1550028727,
"description": null,
"params": {
"fee_rate": 180,
"paypal_client_id": "AV3QXZLFKDkc44RJxy3jzcbwUHOjgV0J4aZoEjHmiG1P7OICJqciluUQRngYyodUMCP6AKMIsW3c3XAt",
"paypal_secret": "EDTL9oVMNN9Z8roK39LbKGT9bPzaa4-o0PKNUf3nzmaNCleio4gna78um7xjONga3M0ULfN5djOphk43",
"paypal_merchant_id": "RUR43F69H3xxxx",
"paypal_bn_code": "Ping_SI_Other_PayPal",
"paypal_webhook_id": "25A41686TT936000",
"transaction_fee": 60,
"refund_return_fee": 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_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_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_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_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-----"
}
}