Commit e30b48f
docs: crypto refund destination + real-time fee assessment (#737)
## Summary
Two clarifications to the Grid concept docs, prompted by a real-time
USDC funding support case:
- **Crypto refund destination** (`Transaction Lifecycle` → Refund
Object): a new "Refund destination" subsection explains that where a
refund lands depends on how the transaction was funded. Real-time (JIT)
quotes funded with **crypto** are refunded to the customer's **internal
account balance** for that asset — not back to the source wallet —
because Grid can't verify the sending wallet belongs to the customer.
That balance is reusable via a new quote or `POST /transfer-out`.
- **Real-time fee assessment** (`Quote System` → Fees): a new "How the
variable fee is applied" subsection documents how the variable fee is
assessed for each locked side:
- Sending locked: `received = send − send × fee` → send $50 at 10 bps ⇒
receive $49.95
- Receiving locked: `send = received / (1 − fee)` → receive $50 at 10
bps ⇒ send $50.05005005…
- Plus a note on why receiver-locked divides by `(1 − fee)` (keeps the
effective rate identical across both locked sides) and how FX layers on
for cross-currency quotes.
## Test plan
- `mint broken-links` — no broken links or anchors in the edited pages
(the new `#locked-currency-side` link resolves)
- Verified the worked numbers: `50 − 50×0.001 = 49.95`, `50 / 0.999 =
50.05005005…`
- Additive-only edits to existing pages; no new pages, no navigation
changes
---------
Co-authored-by: Peng Ying <peng@lightspark.com>1 parent 60d499d commit e30b48f
2 files changed
Lines changed: 38 additions & 0 deletions
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
353 | 379 | | |
354 | 380 | | |
355 | 381 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
184 | 196 | | |
185 | 197 | | |
186 | 198 | | |
| |||
0 commit comments