Basket coupon allocation distributes a fixed discount across line values in whol
Basket coupon allocation distributes a fixed discount across line values in whole minor units. Use it when an agent needs checking line-level prices after an order coupon.
Answeringour last check, 2026-11-26
1 of 1checks answered this week
894 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://rechen.halowerk.com/v1/shop-basket-coupon-apportionment
| Category | Commerce and shopping |
|---|---|
| Provider host | rechen.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.005 | 894 ms |
Example input (from the provider)
{
"body": {
"discount": 100,
"lines": [
1530,
2034,
2034
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"discount": {
"maximum": 1000000000,
"minimum": 0,
"type": "integer"
},
"lines": {
"items": {
"maximum": 10000000,
"minimum": 0,
"type": "integer"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
}
},
"required": [
"lines",
"discount"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}