刷新会话IP

刷新会话IP。

接口信息

POST /client/ip/dynamics/refreshSession

请求头

参数名类型描述
x-merchant-tokenString商户令牌
x-merchant-codeString商户代码
Content-TypeStringapplication/json

请求参数

参数名必选类型描述
accountCodeString动态账号
sessionCodeString会话代码

代码示例

const response = await fetch('/client/ip/dynamics/refreshSession', {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json',
        'x-merchant-token': 'your-token-here',
        'x-merchant-code': 'your-merchant-code'
    },
    body: JSON.stringify({
        "accountCode": "iplt1000",
        "sessionCode": "YNW68s"
    })
});

响应示例

{
  "msg": "刷新成功",
  "code": 200
}