Getting refunds for a specific order
Learn how to get refunds for a specific order.
Use GET /orders/{orderId}/refunds
request with the order identifier (orderId
) to get refunds for a specific order.
curl --location --request GET 'https://api.digitalriver.com/orders/{orderid}/refunds' \
--header 'authorization: bearer {auth_token}' \
...
{
"refunds": [
{
"id": "string",
"status": "string",
"reason": "string",
"comments": "string",
"type": "string",
"category": "string",
"generationDate": "string",
"generatedBy": "string",
"origin": "string",
"policy": "string",
"currency": "string",
"totalRefunded": {},
"outstanding": {},
"totalRequested": {}
}
]
}