Mangopay nodejs sdk

我正在尝试将Mangopay集成到我的nodejs应用程序中。

我正在使用以下sdk。

https://github.com/larafale/mangopay

当我尝试注册新用户时,出现以下错误。

Your authorization do not allow you to access to this information

我使用下面的代码configuration了mangopay对象。

 mango = require('mangopay')({ username: 'client-id', password: 'passphrase', production: false }); 

任何帮助,将不胜感激。

我做了完全相同的请求,它的工作为我find了一个美丽的200。

也许您正在使用沙箱密码而不是密码(在创build沙箱帐户时自动生成)。