我尝试按照在线指南进行托管会话集成。
使用邮差测试检索会话api时,发生错误。
{"error" {"cause"INVALID_REQUEST"解释";意外参数'merchantId'"},"result"ERROR"}
我设置了正确的参数,merchantId和sessionId。
https://ap-gateway.mastercard.com/api/documentation/apiDocumentation/rest-json/version/latest/operation/Session%3a%20Retrieve%20Session.html?locale=en_US
实际上并没有包含"merchantId"这个文本。您必须提供有效的商户ID。点击"URL参数">
{merchantId} Alphanumeric + additional characters COMPULSORY
The unique identifier issued to you by your payment provider."
对于"sessionId"也是如此。