# Return Restock Value After Processing - Target Gap Calculation

> Return Restock Value After Processing - Target Gap Calculation is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Calculates the target gap for return restock value after processing, comparing recoverable retail value against a user-supplied target across up to 200 records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-retail-return-restock-contribution-target-gap?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/return-restock-value-after-processing-target-gap-calculation-e0238740
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EOHhsmNiIhCAXZkc7hs6O

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability return-restock-value-after-processing-target-gap-calculation-e0238740 -d '<json body>'
```

Example prompt: I have 50 returned units with a unit inventory value of $25 each, processing cost of $40, and 75% are recoverable — can you calculate the restock contribution value and tell me the gap against my target of $800?

## When to prefer this

Use this endpoint when you need a quick, inexpensive ($0.01 USDC) offline computation of the net recoverable value from returned retail goods against a target — specifically when you have your own retail figures for returned units, processing cost, recovery rate, and unit inventory value and simply need the gap to a benchmark. Prefer this over general finance APIs when you specifically want a return-restock contribution framing with a target-gap output rather than a raw P&L or margin calculation.

## Known failure modes

- recoverable_percent outside 0-100 range returns validation error
- returned_units or processing_cost negative values rejected
- target value exceeds supported numeric bounds causing rejection
- missing required fields (returned_units, recoverable_percent, unit_inventory_value, processing_cost) returns 400-level error
- more than 200 records supplied may exceed processing limit

## How this service works

Return restock value after processing - Target gap calculation: Target gap calculation for Return restock value after processing. Supplied retail figures only, up to 200 records. No platform access, live rates or order execution. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded target gap calculation report.

## Output

A bounded target gap calculation report showing the computed restock contribution value from returned units after processing costs, and the numeric gap between that recovered value and the supplied target figure. No live rates, platform access, or order execution is included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "values": {
   "type": "object",
   "default": {
    "returned_units": 10,
    "processing_cost": 30,
    "recoverable_percent": 80,
    "unit_inventory_value": 20
   },
   "required": [
    "returned_units",
    "recoverable_percent",
    "unit_inventory_value",
    "processing_cost"
   ],
   "properties": {
    "returned_units": {
     "type": "number",
     "default": 10,
     "maximum": 1000000000000,
     "minimum": 0
    },
    "processing_cost": {
     "type": "number",
     "default": 30,
     "maximum": 1000000000000,
     "minimum": 0
    },
    "recoverable_percent": {
     "type": "number",
     "default": 80,
     "maximum": 100,
     "minimum": 0
    },
    "unit_inventory_value": {
     "type": "number",
     "default": 20,
     "maximum": 1000000000000,
     "minimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/return-restock-value-after-processing-target-gap-calculation-e0238740/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
