> For the complete documentation index, see [llms.txt](https://docs.frequencychain.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.frequencychain.org/8.-smart-contract-example-payment-contract-sending-and-receiving-frecx.md).

# 8. Smart contract Example: Payment Contract (Sending and Receiving FreCx)

This example demonstrates how contracts can receive and manage funds. This is essential for building payment systems, marketplaces, and financial applications.

<figure><img src="https://1067227230-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLwgYv3BMBEDsxgxyrgOJ%2Fuploads%2Feh3Fkcg7p3VxP1tOWa5x%2FSec8.1.png?alt=media&amp;token=3edbeb57-d30c-4ac5-b0d3-17249a736492" alt=""><figcaption></figcaption></figure>
