Skip to content
HALOWERK

Text Tools

shop return fee retention

Refundable order value separates explicitly nonrefundable charges from the order total. Use it when an agent needs checking the value of an unused-item return.

POST https://text.halowerk.com/v1/shop-return-fee-retention

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
totalintegerYes
retainedarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "total": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000000
    },
    "retained": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 100000000
      },
      "maxItems": 20,
      "minItems": 1
    }
  },
  "required": [
    "total",
    "retained"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "total": 3250,
  "retained": [
    500,
    750
  ]
}

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": {
        "refundable": {
          "type": "integer"
        },
        "retained": {
          "type": "integer"
        }
      },
      "required": [
        "refundable",
        "retained"
      ]
    },
    "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 →