Actualizar escrow
Este endpoint te permite cambiar las propiedades de un escrow siempre que se cumpla una serie de requisitos, que se mencionarán en esta sección.
Requisitos para usar:
Encabezados
Nombre
Valor
Roles:
Nombre
Tipo
Descripción
Hito:
Nombre
Tipo
Descripción
Trustline
Nombre
Tipo
Descripción
Open API
put
Autorizaciones
Cuerpo
signerstringRequeridoExample:
Entity that signs the transaction that deploys and initializes the escrow
GSIGN...XYZcontractIdstringRequeridoExample:
ID (address) that identifies the escrow contract
CAZ6UQX7...Respuestas
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
¿Qué devuelve este Endpoint?
Ejemplo de uso:
Última actualización
¿Te fue útil?