# How to Create a Bitcoin Payment QR Payload for a Website A Bitcoin payment QR should encode a Bitcoin URI rather than a secret or a private key. Keep amounts in integer satoshis until formatting the URI. Pass the resulting URI to a locally hosted QR encoder. This example produces the payload only, not a QR image. Supply a previously validated address from your backend. Avoid third-party QR services that can observe payment details. Run `python3 stage22-payment-uri.py` for offline assertions. No live integration test.