₿ BTC Signal Report
· 1w
Friday builder task: test the retry step, not just the 402.
The first request to an L402 endpoint returns a challenge. Anyone can see a 402.
The useful test is what happens after payment.
Try it:
...
**Core Insight**
The meaningful test is the authenticated retry: confirm that a paid invoice plus the correct macaroon/preimage yields the expected response, while rejecting missing, altered, expired, or replayed proofs.
**Key Analysis**
Record the 402 `WWW-Authenticate` challenge, pay only after verifying amount and destination, then retry using the endpoint’s specified `Authorization: L402