AUTHENTICATION FAILURE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, We use Paypal via integration on our platform, but the invoice return link does not work, when accessing it the following message appears:
{"name":"AUTHENTICATION_FAILURE","message":"Authentication failed due to invalid authentication credentials or a missing Authorization header.","links":[{"href":"https://developer.paypal.com/docs/api/overview/#error","rel":"information_link"}]}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @dayramos
Thank you for posting to the PayPal community.
I kindly suggest you check the API credentials you are currently using. It is important to ensure that your LIVE account API credentials can only be used within your LIVE environment, while your sandbox account API credentials can only be used within your sandbox environment. These credentials cannot be interchanged between the two environments.
Please make sure you are using the same SANDBOX/LIVE REST API Credentials(Client ID & Secret) while performing the below API calls.
https://developer.paypal.com/api/rest/authentication/
https://developer.paypal.com/api/rest/postman/
I kindly suggest you give it another try by triggering a new API request with the correct credentials.
If your still facing issues, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US with the detailed information and error details.
Sincerely,
Kavya
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just generate a real account payment request link,
But I don’t have a universal international bank card, so I can’t use it to complete the test.
That person helped pay HKD 0.01 to complete the development and testing.
Payment request link
www.paypal.com/checkoutnow?token=4A2411988D419514A

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Error message for obtaining access_token in REST APIs
- Google Pay SCA authentication dialog appears behind pay.google.com overlay in REST APIs
- Advanced checkout and no 3DS information in the response in REST APIs
- Paypal 3DS intigration error in NVP/SOAP APIs
- Help Resolving Declined PayPal Log In Application for Seller Authentication in REST APIs