What does Buyer Pricing, Fee Steps and Accessory Attach conclude, in numbers, about “The Envelope: Menus, Many Steps and Safe Rounding”?
Answer: Chapter 2 shows that a transfer discount is worth only 7.4 per order at the threshold and that plain rounding across a step cuts the margin to 0.1742.
Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's hypotheses.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. printed values that match the answer: 7.4
| fee 0.028, extra bank cost 210, hassle uniform on [0, 800] | ||||
| price | fee saved | best discount | take-up | gain/order |
| 13000 | 364 | 77 | 0.096 | 7.4 |
| 16000 | 448 | 119 | 0.149 | 17.7 |
| 20000 | 560 | 175 | 0.219 | 38.3 |
| 30000 | 840 | 315 | 0.394 | 124.0 |
| 50000 | 1400 | 595 | 0.744 | 442.5 |
| top-up across T: basket b, accessory a, extra net vs card | ||||
| basket | accessory | new total | discount | extra net |
| 12000 | 1000 | 13000 | 77 | 499 |
| 12400 | 700 | 13100 | 78 | 374 |
| 12400 | 1000 | 13400 | 83 | 505 |
| 12800 | 700 | 13500 | 84 | 379 |
| 12800 | 1500 | 14300 | 95 | 728 |
Show the full program
# Chapter 2. p03: Let the customer choose the route. Above T the card is
# still accepted, but a bank transfer earns a discount d. A customer's
# hassle cost of a transfer is uniform on [0, K]; she transfers when
# d > k. The shop gains g P - dS - d per switch, where dS = S2 - S1, so
# the best discount is d* = (g P - dS) / 2 and the gain per order is
# (g P - dS)^2 / (4 K). Second panel: a basket b just under T plus one
# accessory of price a (margin 0.45, no extra freight) crosses T and
# can be paid by transfer at discount d*. No sampling.
T, G, DS, K, MU = 13000.0, 0.028, 210.0, 800.0, 0.45
def best(p):
s = G * p - DS
if s <= 0:
return 0.0, 0.0, 0.0
d = min(s / 2, K)
return d, d / K, d / K * (s - d)
if __name__ == "__main__":
print(" fee 0.028, extra bank cost 210, hassle uniform on [0, 800]")
print(" price fee saved best discount take-up gain/order")
for p in (13000, 16000, 20000, 30000, 50000):
d, u, gain = best(p)
print(" {:5d} {:9.0f} {:13.0f} {:7.3f} {:10.1f}".format(
p, G * p, d, u, gain))
print(" top-up across T: basket b, accessory a, extra net vs card")
print(" basket accessory new total discount extra net")
for b, a in ((12000, 1000), (12400, 700), (12400, 1000),
(12800, 700), (12800, 1500)):
tot = b + a
d, _, _ = best(tot)
card = b * (1 - G)
bank = tot - d - DS - a * (1 - MU)
print(" {:6d} {:9d} {:9d} {:8.0f} {:9.0f}".format(
b, a, tot, d, bank - card))Single source and citation
Fan, Y. (2026). Cross-Border Buyer Dynamic Pricing, Fee-Threshold Payment Routing and Accessory Attach Economics (Version 1.0.0), Chapter 2: The Envelope: Menus, Many Steps and Safe Rounding. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-110 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026110,
author = {Fan, Yafu},
title = {Cross-Border Buyer Dynamic Pricing, Fee-Threshold Payment Routing and Accessory Attach Economics},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · The Deadzone: When a Dearer Bag Gets a Cheaper Quote
- Chapter 3 · The Accessory in the Box: Zero Marginal Freight and Mixed Bundling
- Chapter 4 · The Checkout Drawer: Exposure, Discounts and Small Tests
- Chapter 5 · Five Days Open: Currency Risk in a Live Buying Window
- Chapter 6 · The Refund That Never Quite Arrives
- Chapter 7 · Mother and Child Coins, the Equable Transport and Block Booking
- Chapter 8 · Practice: One Year of a Buyer Shop and One Test Protocol