Wallet Deep Linking
4 min
when you display a lightning invoice in your application, you can offer a pay with cash app link so customers can open the invoice in cash app voltage's checkout (beta) docid\ ejqbzjnhgvpdci jyzgtv already handles this for you if you build your own payment interface, you can create the same link using a lightning invoice generated by voltage hosted checkout is not required cash app link format use this url format https //cash app/launch/lightning/{bolt11invoice} replace {bolt11invoice} with the complete bolt11 invoice string from voltage use the invoice itself, without a lightning prefix or the surrounding braces add the link to your application generate a lightning invoice using a mainnet voltage wallet see receiving docid uq9knquoc9sgq0kuogmy for the invoice creation flow append the complete invoice to https //cash app/launch/lightning/ use the resulting url for a pay with cash app link in your payment interface for example, once your application has the invoice function createcashapplink(bolt11invoice) { return `https //cash app/launch/lightning/${bolt11invoice}`; } // bolt11invoice is the complete mainnet invoice generated by voltage const link = document createelement("a"); link href = createcashapplink(bolt11invoice); link textcontent = "pay with cash app"; document body appendchild(link); keep the invoice and its qr code available for customers who want to pay with another lightning wallet testing mainnet only cash app only supports mainnet mutinynet invoices cannot be paid through this link format to test the cash app payment flow, generate an invoice using a mainnet voltage wallet and pay it with cash app mainnet payments use real bitcoin, including when you are testing your application confirm payment opening the link does not mean the invoice has been paid verify completion on your server through the voltage api or webhooks docid\ pdeh 4et9aqawca5q91na before marking an order as paid or delivering a product