Get Refund
Retrieves the refund for the specified shipment.
Endpoint: GET /api/shipments/{id}/refund
Required Scope: shipments:read
Path Parameter
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | The ID of the shipment to refund. |
Response Specification
Returns a Shipment Refund object wrapped in Result.
Could return HTTP status code 404 if not found.
Sample JSON
{
"Data": {
"Status": "Refunded",
"TrackingNumber": "9200190327908701117139",
"Barcode": "420900019200190327908701117139",
"CurrencyCode": "USD",
"TotalFeeAmount": 9.69,
"CapturedAmount": 9.69,
"RefundedAmount": 9.69
},
"Succeeded": true,
"Error": null,
"CapturedValues": {}
}