签约接口
# 请求地址
POST https://sandbox-acquirer-payment.pingpongx.com/v4/paymethod/bind
1
POST https://acquirer-payment.pingpongx.com/v4/paymethod/bind
1
// Make sure to add code blocks to your code group
# 请求参数
# 公共请求参数
暂无数据
# 请求参数
| 字段名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| requestId | String(64) | M | 唯一请求号 |
| merchantUserId | String(256) | M | 会员ID,用户在商户网站的会员ID |
| paymentMethod.type | String | M | 支持的枚举:
|
| merchantResultUrl | String(255) | M | 商户结果页地址 |
| notificationUrl | String(255) | M | 商户通知地址 |
| device.orderTerminal | Object | M | 设备参数:
|
| bizType | String | M | CodeGrant |
# 请求示例
{
"accId": "2022102018024210348883",
"clientId": "2022102018024210348",
"signType": "SHA256",
"sign": "{{Sign}}",
"version": "1.0",
"bizContent": {
"merchantUserId": "1260489643332513151",
"requestId": "{{merchantTransactionId}}",
"merchantResultUrl": "https://test-acquirerpay.pingpongx.com/qa/result.html",
"notificationUrl": "https://test-acquirerpay.pingpongx.com/qa/result.html",
"bizType": "CodeGrant",
"paymentMethod": {
"type": "Boost"
},
"device": {
"orderTerminal": "01"
}
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 响应参数
| 参数字段 | 参数属性 | 参数说明 |
|---|---|---|
| sign | M | 签名值 |
| bizContent.token | O | 令牌token |
| bizContent.authUrl | O | 签约链接 |
| signType | M | 签名方式 |
| code | O | 结果状态码 |
| description | O | 结果描述 |
# 响应示例
{
"bizContent": "{\"token\":\"196876a82e5bfb40f1fee402fec92f52\",\"authUrl\":\"https://g.alipayplus.com/page/aplus-linker/acwallet/authorization.html?scopes=AGREEMENT_PAY%2CUSER_LOGIN_ID&bizContent=%7B%22acquirerId%22%3A%22Z02TE5520000000A%22%2C%22authClientDisplayName%22%3A%22BL%20Company%22%2C%22authClientId%22%3A%222022102018024210348%22%2C%22authClientName%22%3A%22BL%20Company%22%2C%22authRedirectUrl%22%3A%22https%3A%2F%2Fg.alipayplus.com%2Fpage%2Fac-auth-payment%2Fresult%2Fmobile%2Findex.html%3FloadMode%3D2%26callbackType%3DCommon%26terminalType%3DWEB%26referenceAgreementId%3D1716444968758634%26authRequestId%3D2024052319091305000190000395242%26pspId%3DT56264108532298562A%26clientId%3DSANDBOX_5Y60882YJZ2405725%22%2C%22authState%22%3A%221716444968758634%22%2C%22customerBelongsTo%22%3A%22BOOST%22%2C%22pspId%22%3A%22T56264108532298562A%22%2C%22referenceAgreementId%22%3A%221716444968758634%22%2C%22referenceMerchantId%22%3A%222022102018024210348%22%2C%22scopes%22%3A%5B%22AGREEMENT_PAY%22%2C%22USER_LOGIN_ID%22%5D%2C%22terminalType%22%3A%22WEB%22%7D&source=AlipayConnect&needCallback=true\"}",
"sign": "102897C8BF0AA4B9C2D78CE20800FD2E2288856CF1C76A18BC985954A4B36390",
"signType": "SHA256"
}
1
2
3
4
5
6
2
3
4
5
6
上次更新: 2024/10/08, 11:14:07