Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
The smart contract that holds funds and enforces the conditions of the agreement between the Service Provider and the Signer.
Responsible for modifying the "flag" property of a specific milestone in the escrow to approve that milestone.
URL: /escrow/change-milestone-flag
contractId: ID (address) that identifies the escrow contract
milestoneIndex: Position that identifies the milestone within the group of milestones in the escrow
newFlag: New value for the "flag" property within the escrow milestone
client: Address of the client who will approve the milestone
In this section, you'll see all the attributes of the Escrow Entity.
engagementId
string
The unique identifier linking this escrow to a specific project or transaction.
contractId
string
The unique identifier of the contract.
issuer
string | Address Wallet
The address of the party that created the escrow contract.
signer
string | Address Wallet
The address authorized to approve the release of funds.
serviceProvider
string | Address Wallet
The address of the entity receiving the payment.
amount
number | u128
The amount pacted (price of product/service).
balance
number | u128
The amount currently in the contract.
cancelled
boolean
If the escrow is already cancelled
completed
boolean
If the escrow is already completed
description
string
A brief summary or metadata describing the scope of the service/product.
Handles the resolution of disputes within an escrow by transferring the amounts entered so far in the escrow to the client and service provider according to what the dispute resolver deems appropriate.
URL: /escrow/resolving-disputes
contractId: ID (address) that identifies the escrow contract
disputeResolver: Address of the user defined to resolve disputes in an escrow
clientFunds: Amount to transfer to the client for dispute resolution
serviceProviderFunds: Amount to transfer to the service provider for dispute resolution
Allows users to deposit funds into an existing escrow contract, securing them until the agreed conditions are met.
Allows flexible USDC amounts to be transferred to the escrow contract.
URL: /escrow/fund-escrow
contractId: ID (address) that identifies the escrow contract
signer: Address of the user signing the contract transaction
amount: Amount to transfer to the escrow contract
Previous Version:
POST
escrow/fund-escrow
Headers
Content-Type
application/json
Body
string
The unique identifier linking this escrow to a specific project or transaction.
string
The unique identifier of the contract.
string | Address
The address authorized to approve the release of funds.
Example of Request Body:
Possible Responses
Only Signer
Already Funded
Fully Funded
Insufficient Founds
Not Found
Not Enough Allowance
What this Endpoint returns?
This endpoint returns the transaction unsigned so that the transaction can be signed by means of a customer wallet.
Funds are deposited into the escrow contract, either manually by a party or automatically via an API call.
Deploys the escrow contract and defines its properties.
URL: /deployer/invoke-deployer-contract
signer: Entity that signs the transaction that deploys and initializes the escrow engagementId: Unique identifier for the escrow
title: Name of the escrow
description: Text describing the function of the escrow
client: Address of the entity requiring the service
serviceProvider: Address of the entity providing the service
platformAddress: Address of the platform that owns the escrow
amount: Amount to be transferred upon completion of escrow milestones
platformFee: Commission that the platform will receive when the escrow is completed
milestones: Objectives to be completed to define the escrow as completed releaseSigner: Address of the entity in charge of releasing escrow funds
disputeResolver: Address in charge of resolving disputes within the escrow
Prievious Version:
POST
escrow/initialize-escrow
Headers
Content-Type
application/json
Body
string
The unique identifier linking this escrow to a specific project or transaction.
string
A brief summary or metadata describing the scope of the service/product.
string | Address
The address of the party that created the escrow contract.
string | Address
The address of the entity receiving the payment.
string
The amount pacted (price of product/service).
string | Address
The address authorized to approve the release of funds.
Example of Request Body:
Possible Responses
Prices
The escrow has been successful completed.
Distributes escrow earnings after the escrow is marked as complete.
URL: /escrow/distribute-escrow-earnings
contractId: ID (address) that identifies the escrow contract
releaseSigner: Address of the user defined to release the funds
This was previously called complete escrow:
POST
escrow/complete-escrow
Headers
Content-Type
application/json
Body
string
The unique identifier linking this escrow to a specific project or transaction.
string | Address
The address authorized to approve the release of funds.
string
The unique identifier of the contract.
Example of Request Body:
Possible Responses
Only Signer
Not Funded
Already Completed
Not Found
Insufficient Founds
What this Endpoint returns?
This endpoint returns the transaction unsigned so that the transaction can be signed by means of a customer wallet.
Responsible for modifying the "status" property of a specific milestone in the escrow
URL: /escrow/change-milestone-status
contractId: ID (address) that identifies the escrow contract
milestoneIndex: Position that identifies the milestone within the group of milestones in the escrow
newStatus: New value for the "status" property within the escrow milestone
serviceProvider: Address of the service provider who will modify the contract's "status" property