> For the complete documentation index, see [llms.txt](https://pavan-joshi.gitbook.io/making-payment-transactions-smart/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pavan-joshi.gitbook.io/making-payment-transactions-smart/applications/examples.md).

# Examples

Demonstration of the spec with examples

To demonstrate the concept more clearly, I decided to create a simple prototype through which a user can play a song (one of the digital content), and if the user likes it, the user can buy it. While purchasing any digital content such as a song (in this case) using the website, in a confirmation payment dialogue, they get to know about the song name, artist, and song image(send as base64 encoded string, decode on Alby side).

After successful payment, a song gets downloaded into users’ local storage. 🎉

* [**BuySong.mp4**](https://drive.google.com/file/d/1WUZybY3d-MTbcdlMRGQK_zTJHU7PVeIV/view) is a video that shows an example
* [Prototype Code](https://github.com/pavanjoshi914/Buy-songs-with-Alby-demo-for-transaction-metadata/pull/1)
* [Alby with extended webLN specification](https://github.com/pavanjoshi914/Alby-With-extended-Webln/commit/ed6f7559de47b7a9c932e655fb45be9481856714)
