签约获取凭证
Request Body Parameters
application/json公共请求参数
bizContent
paymentMethodObject必填deviceObject必填requestIdString(64)必填唯一请求号merchantUserIdString(256)必填会员ID,用户在商户网站的会员IDmerchantResultUrlString(255)必填商户结果页地址notificationUrlString(255)必填商户通知地址。
地址建议:请填写基于公网域名的完整 URL,推荐使用标准 Web 端口(HTTPS 默认 443,HTTP 默认 80),并确保该地址可稳定接收 PingPongCheckout 的异步通知。bizTypeString必填固定值:CodeGrant
请求报文示例
{
"accId": "2022102018024210348883",
"bizContent": {
"merchantUserId": "126048964333251315123",
"requestId": "PMT-SM2NG9AEOV1716798866107",
"merchantResultUrl": "https://test-acquirerpay.pingpongx.com/qa/result.html",
"notificationUrl": "https://test-acquirerpay.pingpongx.com/qa/result.html",
"bizType": "CodeGrant",
"paymentMethod": {
"type": "Alipay"
},
"device": {
"orderTerminal": "02"
}
},
"clientId": "2022102018024210348",
"sign": "29DEE85CCEFE3C9BCE870BE5D3573B76EA89997287A07BBAC7599621A00719C1",
"signType": "SHA256",
"version": "1.0"
}Responses Body Parameters
application/jsonbizContentString可选signString必填签名值signTypeString必填签名方式codeString可选结果状态码descriptionString可选结果描述
响应报文示例
{
"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"
}