source avatar™ TøBS

Share

Utexo: What If a Payment Could Wait Before Being Completed? Not every payment should be completed immediately. Sometimes, a business needs to verify a delivery, confirm a service, or wait for a recipient to become available before finalizing a payment. This is where HODL invoices become interesting. What is a HODL invoice? A HODL invoice is a Lightning payment invoice that allows an incoming payment to be held temporarily instead of being settled immediately. Utexo's RGB SDK supports creating, claiming, and cancelling HODL invoices. Here's how it works: 1. The recipient creates an invoice linked to a secret payment condition. 2. The sender initiates the payment. 3. The payment remains pending while the recipient decides whether to claim it. 4. The recipient can complete the payment by providing the required secret or cancel it while cancellation remains possible. This gives developers more control over when a payment is finalized. Real-world example 1: Freelance payments Imagine a business hiring a designer to create a logo for $200. The business could use a custom payment workflow built around a HODL invoice. The payment would remain pending while the agreed review process takes place. Once the relevant condition is satisfied, the recipient can claim the payment. However, a HODL invoice alone does not verify whether the work is satisfactory. The application still needs to manage the agreement and review process. Real-world example 2: Online services Imagine a platform connecting customers with service providers. A customer initiates payment for a service, but the platform needs to coordinate when the payment is finalized. HODL invoice functionality could form part of that workflow, giving the application greater control over payment settlement. Real-world example 3: Digital payments in automated applications An application could initiate a payment and wait for a required step before claiming it. For example, a digital service might wait for a processing task to finish before finalizing a payment to another system. This could be useful for applications that need more control than a simple send-and-receive payment flow. Where Utexo fits in Utexo's RGB SDK provides developers with tools to create, monitor, claim, and cancel HODL invoices through its Lightning infrastructure. The SDK also supports RGB assets, which means developers can build payment flows around supported digital assets, including USDT issued through RGB. Why does this matter? Payments are not always just about moving money from one wallet to another. Applications sometimes need to control when funds are finalized. HODL invoices give developers a building block for creating these more flexible payment experiences on Lightning. The important distinction is that a HODL invoice is not automatically an escrow service or a guarantee that contractual conditions have been met. Those protections require additional application logic and appropriate safeguards. @utexocom

No.0 picture
Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.