Update escrow properties
This endpoint allows you to change the properties of an escrow as long as a series of requirements are met, which will be mentioned in this section.
Put
escrow/update-escrow-by-contract-id
Requirements to use:
Only the entity with the platform role has permissions to execute this endpoint
You cannot change the properties of an escrow which already has an approved milestone
You cannot change the properties of an escrow which already has funds
You cannot change the properties of an escrow which is in dispute.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
signer
string
Entity that signs the transaction that deploys and initializes the escrow
contractId
string
ID (address) that identifies the escrow contract
escrow
Escrow Body
Object containing all the properties contained in the body of an escrow.
Escrow Body
engagementId
string
ID that the user who created the escrow wants to define to it
title
string
Name of the escrow
description
string
Text describing the function of the escrow
approver
string
Address of the entity requiring the service
serviceProvider
string
Address of the entity providing the service
platformAddress
string
Address of the platform that owns the escrow
amount
string
Amount to be transferred upon completion of escrow milestones
plataformFee
string
Commission that the platform will receive when the escrow is completed
milestones
Milestones<Array>
Objectives to be completed to define the escrow as completed releaseSigner: Address of the entity in charge of releasing escrow funds
releaseSigner
string
Address of the user in charge of releasing the escrow funds to the service provider.
disputeResolver
string
Address in charge of resolving disputes within the escrow
trustline
string
Address of the token that will manage USDC movements
trustlineDecimals
number
Number of decimal places determining the divisibility of the token base unit (trustline)
receiver
string
Address of the user to whom the escrow funds will be destined to
receiverMemo (Optional)
number
Field used to identify the recipient's address in transactions through an intermediary account. This value is included as a memo in the transaction and allows the funds to be correctly routed to the wallet of the specified recipient.
Example of request body:
What this Endpoint returns?
This endpoint returns the transaction unsigned so that the transaction can be signed by means of a customer wallet.
Use example (Using axios):
Last updated
Was this helpful?