Update Escrow
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.
Requirements to use:
Headers
Name
Value
Roles:
Name
Type
Description
Milestone:
Name
Type
Description
Trustline
Name
Type
Description
Open API
put
Authorizations
Body
signerstringRequiredExample:
Entity that signs the transaction that deploys and initializes the escrow
GSIGN...XYZcontractIdstringRequiredExample:
ID (address) that identifies the escrow contract
CAZ6UQX7...Responses
200
This endpoint returns an unsigned transaction in XDR format. This XDR is then used to sign the transaction using the “/helper/send-transaction” endpoint.
application/json
400
Bad request
401
Unauthorized access
429
Too Many Requests
500
Possible errors:
- The platform fee cannot exceed 99%
- Escrow initialized without milestone
- Cannot define more than 50 milestones in an escrow
- Amount cannot be zero
- Escrow not found
- Only the platform address should be able to execute this function
- The platform address of the escrow cannot be changed
- The provided escrow properties do not match the stored escrow
- All flags (approved, disputed, released) must be false in order to execute this function
application/json
put
/escrow/multi-release/update-escrow
What this Endpoint returns?
Use Example:
Last updated
Was this helpful?