birsan mihai
birsan mihai

Reputation: 71

Paypal Balance Accounts API - INSUFFICIENT_PRIVILEGES

i'm trying to access paypals accounts using the rest api

i'm making a request to /v2/wallet/balance-accounts/ ( Documentation : https://developer.paypal.com/docs/api/balance-accounts/)

but keep getting the following message:

Array
(
    [name] => INSUFFICIENT_PRIVILEGES
    [message] => Insufficient privileges for requested resource.
    [information_link] => 
    [details] => Array
        (
            [0] => Array
                (
                    [issue] => Insufficient privileges for requested resource.
                    [code] => INSUFFICIENT_PRIVILEGES
                )

        )

)

does anyone know from where i can change/add the privileges? i can't find the settings for it

thank you

Upvotes: 3

Views: 841

Answers (1)

Yaman
Yaman

Reputation: 1061

It says here you must have a business account, and also here (you must be a partner) based on their suggestion here you have an alternative:

https://developer.paypal.com/docs/classic/api/merchant/GetBalance_API_Operation_NVP/

Which is unfortunately not REST

Hope this helps

Upvotes: 1

Related Questions