Escrows

The smart contract that holds funds and enforces the conditions of the agreement between the Service Provider and the Signer.

Introduction

The purpose of this documentation is to guide users through the process of utilizing the Escrow system effectively. By understanding its functionalities and endpoints, users can ensure that their transactions are handled with precision and security. This guide will cover the essentials, from initialization to finalizing transactions, enabling a seamless experience for all parties involved.

Escrow's Endpoints Overview

When using the escrow's endpoints, users can seamlessly manage escrows. Here's a breakdown of the functionalities and how to utilize them effectively:

  • Fund Escrow: The Fund Escrow endpoint allows users to deposit funds into an escrow account. This process initiates the secure holding of funds until the transaction conditions are fulfilled. Users must specify the source account from which the funds will be withdrawn and the escrow account that will receive the funds.

Funding Phase
  • Get Escrow by Engagement ID: This endpoint retrieves detailed information about a specific escrow transaction based on its engagement ID.

  • Resolve Dispute: This endpoint facilitates the resolution of conflicts that may arise during the escrow process. Users engaged in an escrow transaction can use this feature to communicate issues and seek mediation for a fair resolution.

Dispute Resolution
  • Change Milestone Flag (Approve): The Change Milestone Flag endpoint allows users to set specific milestones within an escrow transaction as approved.

Approval phase
  • Change Milestone Status (Complete): The Change Milestone Status endpoint enables users to mark specific milestones within an escrow transaction as complete.

Milestone Update phase
  • Change Dispute Flag: Start a dispute in the escrow.

  • Distribute Escrow Funds: Allows users to finalize their escrow transactions once all milestones and conditions have been met.

Release phase

These endpoints ensure secure transactions by leveraging Stellar's infrastructure, guaranteeing transparency and reliability.

Last updated

Was this helpful?