# How to Generate a Bitcoin Receive Address for a Website Keep the wallet credential on the backend. The browser requests a checkout session, not arbitrary wallet operations. The documented WAB RECEIVE endpoint accepts net and type; its result contains an address. Use a fixed loopback engine URL, a timeout and a bounded response. Do not retry automatically after an ambiguous response. The address returned here is trusted engine data; the example does not independently validate its checksum. Persist the address against the authenticated order before displaying it. For priced invoices prefer WATCH CREATE. Run `python3 stage22-receive-address.py` for offline assertions. No live integration test.