paypal access token issue

prakashsaran
New Community Member

 

i m following this url => https://developer.paypal.com/docs/api/get-an-access-token-postman/
my token access is
{
"scope": "https://uri.paypal.com/services/invoicing 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 https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks",
"access_token": "A21AAEycXf3vZKhspNOGSCaicqmHzTcN8HcCc2jSCUhNBsrraR4UyQbk7BfaJqAb7KZqjJNBui2DLbUksE3ixstOZaPRhmcuQ",
"token_type": "Bearer",
"app_id": "APP-80W284485P519543T",
"expires_in": 32400,
"nonce": "2019-09-03T07:23:15Zsq4M556qiYB0GIwTSMU8McB8zkMPHUiPq7OUPrsxreU"
}

 

when i run following curl

curl -v -X GET https://api.sandbox.paypal.com/v1/payment-experience/web-profiles/XP-8YTH-NNP3-WSVN-3C76 \
-H "Content-Type: application/json" \
-H "Authorization: Bearer A21AAEycXf3vZKhspNOGSCaicqmHzTcN8HcCc2jSCUhNBsrraR4UyQbk7BfaJqAb7KZqjJNBui2DLbUksE3ixstOZaPRhmcuQ"

 

response like

* Closing connection 0
* TLSv1.2 (OUT), TLS alert, Client hello (1):
{"name":"INVALID_RESOURCE_ID","debug_id":"7261045126500","message":"The requested resource ID was not found","information_link":"https://developer.paypal.com/docs/api/payment-experience/#errors","details":[]}

 

whats i wrong can you help me ?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.