curl --location -g --request POST 'https://api.ebay.com{basePath}/order//issue_refund' \
--header 'Content-Type: application/json' \
--data-raw '{
"comment": "string",
"orderLevelRefundAmount": {
"currency": "string",
"value": "string"
},
"reasonForRefund": "string",
"refundItems": [
{
"legacyReference": {
"legacyItemId": "string",
"legacyTransactionId": "string"
},
"lineItemId": "string",
"refundAmount": {
"currency": "string",
"value": "string"
}
}
]
}'
{
"refundId": "string",
"refundStatus": "string"
}