API |币种 | user/withdraw |参数无效 (POST)

API | Coinimp | user/withdraw | Invalid parameters (POST)

这里有人用coinimp 和我有同样的问题吗? 你修好了吗?你能帮帮我吗?

所以我正在尝试测试 user/withdraw 的 POST,我按照它在 https://www.coinimp.com/documentation/http-api#user-withdraw 的文档进行了操作,其中清楚地说明了参数是站点密钥、用户和数量。我已经告诉他们(对支持人员)API 不工作..

我的账户目前共有1 330 827

我试图通过 https://reqbin.com and https://web.postman.co POST 并给了我同样的错误:

{
    "message": "Invalid parameters.",
    "status": "failure"
}

我的 API 请求是 (POST + API KEY AND ID HEADER):

https://www.coinimp.com/api/v2/user/withdraw?site-key={sitekey}&user={user_id}&amount={hash amount}

不是form-data就不行,我也用request库代替axios

代码:

const mintmeWithdraw = {
    method: "POST",
    url: "https://www.coinimp.com/api/v2/user/withdraw",
    headers: {
        "Content-Type": "multipart/form-data",
        "X-API-ID": 'api-id-here',
        "X-API-KEY": 'api-key-here'
    },
    formData : {
        "site-key" : `you-site-key`,
        "user" : `user-here`,
        "amount" : `hash-amount`
    }
};

request(mintmeWithdraw, async function (err, res, body) {
    if(err) throw err;
});