The response is
Array ([message] => 401 Unauthorized [error] => Array([code] => processing_error [message] => 401 Unauthorized))
The response is
Array ([message] => 401 Unauthorized [error] => Array([code] => processing_error [message] => 401 Unauthorized))
Can you please include the full request (including headers with Authorization, request body) in a curl command? Make sure your reply is only visible to moderators since it'll have an access token.
I noticed your access token doesn't have PAYMENTS_R permissions. Go to the "Requested Permissions" page in your App Settings, then enable Payments Read (also Payments Write and Ecommerce) permissions for your app. Afterwards, uninstall, then reinstall the app on your test merchant to generate a new access token with the new permission set.
2 People are following this question.