MERCHANDISE_OR_SERVICE_NOT_AS_DESCRIBED
reason. Allowed acknowledgement_type values for the request is available in dispute details allowed response options object.username:password
Authorization: Basic *****************
{
"note": "I have received the item back.",
"acknowledgement_type": "ITEM_RECEIVED"
}
curl --location -g --request POST 'https://api-m.sandbox.paypal.com/v1/customer/disputes/{{dispute_id}}/acknowledge-return-item' \
--header 'PayPal-Request-Id: ' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"note": "I have received the item back.",
"acknowledgement_type": "ITEM_RECEIVED"
}'
{
"error": "invalid_token",
"error_description": "Token signature verification failed"
}