Overview
Add a PaymentRequest component that generates a shareable Stellar payment URI and QR code. This is a key SDP feature for invoice-style payment collection, especially for the single-use wallet flow.
What needs to be built
API shape
<PaymentRequest
destination="GBZX...WQCA"
asset={{ code: "USDC", issuer: "GA5Z..." }}
amount="25.00"
memo="invoice-1042"
expiresAt={Date.now() + 1800000}
onExpire={() => console.log("request expired")}
/>
Generated URI format
Overview
Add a
PaymentRequestcomponent that generates a shareable Stellar payment URI and QR code. This is a key SDP feature for invoice-style payment collection, especially for the single-use wallet flow.What needs to be built
PaymentRequestcomponent inpackages/ui/src/components/PaymentRequest/web+stellar:pay?destination=...&amount=...&asset_code=...&memo=...URIqrcode.react)SingleUseWallet)API shape
Generated URI format