Hi @paries, Thank you for contacting PayPal community. Our sincere apologies for the inconvenience caused. To enable negative testing - https://developer.paypal.com/tools/sandbox/error-conditions/#link-enablenegativetesting The examples mentioned here https://developer.paypal.com/docs/api-basics/sandbox/error-conditions/ are for NVP API integration. For REST APIs, please refer https://developer.paypal.com/docs/api-basics/sandbox/nt-rest/. We only have negative testing available for the following APIs: You can use request headers to test the following Payments API and Orders API methods: Payments API v1 Create payment Execute approved PayPal payment Payments API v2 Show details for authorized payment Capture authorized payment Void authorized payment Show captured payment details Refund captured payment Show refund details Orders API v2 Create order Update order Show order details Authorize payment for order Capture payment for order https://developer.paypal.com/tools/sandbox/negative-testing/request-headers/ Thank you so much for your patience and understanding. Sincerely, Chiranjeevi PayPal/Braintree MTS If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
... View more