Netellet API error: invalid_scope

Netellet API error: invalid_scope

我正在尝试获取用户对三个范围(subscription_paymentaccount_enhanced_profileaccount_available_balance)的许可,我正在尝试这样做,以获取它们:

https://test.api.neteller.com/v1/oauth2/authorize?client_id=################&redirect_uri=https://paymentstest/gateways/neteller/confirmpayment.php&scope=subscription_payment+account_enhanced_profile+account_available_balance&response_type=code

在 API 中,他们在范围部分记录了这一点:

The supplied scope parameter will indicate the level of access you require for your app. The scope parameter MUST be supplied. If you application requires multiple scopes then you should supply a space separated list of the required permissions. Eg. scope=perm1+perm2

但是当我执行请求时仍然出现这个错误:

{ 
    ["error"] => "invalid_scope" 
    ["error_description"] => "The requested scope is invalid, unknown, or malformed." 
}

为什么我会收到此错误?我正在使用 php 和 urlencode() 将范围添加到 link。这是调用 'client' 以获得权​​限的重定向。

文档中有错误。传递多个范围的正确方法是以逗号分隔列出它们,如下所示:

https://test.api.neteller.com/v1/oauth2/authorize?client_id=################&redirect_uri=https://paymentstest/gateways/neteller/confirmpayment.php&scope=subscription_payment,account_enhanced_profile,account_available_balance&response_type=code