Skip to content
HALOWERK

Text Tools

shop return premium freight refund

Outbound shipping refund returns the recoverable standard delivery charge under a standard-rate cap. Use it when an agent needs checking a premium-shipping return.

POST https://text.halowerk.com/v1/shop-return-premium-freight-refund

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
paidintegerYes
standardintegerYes
item_refundintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "paid": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000000
    },
    "standard": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000000
    },
    "item_refund": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000000
    }
  },
  "required": [
    "paid",
    "standard",
    "item_refund"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "paid": 750,
  "standard": 750,
  "item_refund": 2000
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "delivery_refund": {
          "type": "integer"
        },
        "premium_retained": {
          "type": "integer"
        },
        "total_refund": {
          "type": "integer"
        }
      },
      "required": [
        "delivery_refund",
        "premium_retained",
        "total_refund"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →