API giving 403 error is (Authorization failed due to insufficient permissions). please provide me the exact steps to find which permissions are missing and how can I give those permission via code or console Here is exact flow: Firstly, we creating token API : https://api-m.paypal.com/v1/oauth2/token Response : { "scope": "https://uri.paypal.com/services/payments/futurepayments https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/vault/payment-tokens/read https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller openid https://uri.paypal.com/services/payments/payment/authcapture https://uri.paypal.com/services/disputes/read-seller Braintree:Vault https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://uri.paypal.com/services/pricing/quote-exchange-rates/read https://uri.paypal.com/services/billing-agreements https://api.paypal.com/v1/payments/.* https://uri.paypal.com/services/reporting/search/read https://uri.paypal.com/payments/payouts https://uri.paypal.com/services/vault/payment-tokens/readwrite https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/shipping/trackers/readwrite https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks", "access_token": "A21AAOOV47ns5qVwv9ONLMB3INkdBe479u_OglzT9_jHV22ywVTsJXm_FmJSDk3PkbnBrLJGxlUJwzZGyK-JNPMf760ogdD1A", "token_type": "Bearer", "app_id": "APP-83V16389L5836514J", "expires_in": 32400, "supported_authn_schemes": [ "email_password", "remember_me" ], "nonce": "2024-06-28T10:40:10Z6QhpG0yZkETmkvjlPq3jP2fQQawSpAoAKqznrG6NY9o", "client_metadata": { "name": "BidJones Live", "display_name": "BidJones Live", "logo_uri": "", "scopes": [ "https://uri.paypal.com/services/payments/futurepayments", "https://uri.paypal.com/services/invoicing", "https://uri.paypal.com/services/vault/payment-tokens/read", "https://uri.paypal.com/services/payments/basic", "https://uri.paypal.com/services/disputes/read-buyer", "https://uri.paypal.com/services/payments/realtimepayment", "https://api.paypal.com/v1/vault/credit-card", "Braintree:Vault", "https://api.paypal.com/v1/payments/.*", "https://uri.paypal.com/services/reporting/search/read", "https://uri.paypal.com/services/vault/payment-tokens/readwrite", "https://uri.paypal.com/services/applications/webhooks", "https://identity.x.com/xidentity/resources/profile/me", "https://uri.paypal.com/services/payments/payment/authcapture", "https://uri.paypal.com/services/disputes/update-seller", "openid", "https://uri.paypal.com/services/disputes/read-seller", "https://uri.paypal.com/services/payments/refund", "https://uri.paypal.com/web/experience/incontextxo", "https://uri.paypal.com/services/pricing/quote-exchange-rates/read", "https://uri.paypal.com/services/billing-agreements", "https://uri.paypal.com/payments/payouts", "https://api.paypal.com/v1/vault/credit-card/.*", "https://uri.paypal.com/services/shipping/trackers/readwrite", "https://uri.paypal.com/services/subscriptions" ], "ui_type": "NEW" } } Then using that token We are hitting partner-referrals API API : https://api-m.paypal.com/v2/customer/partner-referrals Response { "name": "NOT_AUTHORIZED", "debug_id": "bd9f0d43b06b8", "message": "Authorization failed due to insufficient permissions.", "details": [ { "issue": "NOT_AUTHORIZED", "description": "Authorization failed due to insufficient permissions." } ] } Please provide me the exact solution how can I resolve it or can give permission.
... View more