username:password
Authorization: Basic *****************
curl --location -g --request POST 'https://api-m.sandbox.paypal.com/v1/customer/disputes/{{dispute_id}}/accept-claim' \
--header 'PayPal-Request-Id: ' \
--header 'Content-Type: text/plain' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"note": "Full refund to the customer.",
"accept_claim_reason": "DID_NOT_SHIP_ITEM",
"accept_claim_type": "REFUND"
}'
{
"links": [
{
"href": "https://api.sandbox.paypal.com/v1/customer/disputes/PP-D-61889",
"rel": "detail",
"method": "GET"
}
]
}