Cambiar estado del hito
Responsable de modificar la propiedad "status" de un hito específico en el escrow.
Encabezados
Nombre
Valor
Open API
post
Autorizaciones
Cuerpo
contractIdstringRequeridoExample:
ID (address) that identifies the escrow contract
CAZ6UQX7...milestoneIndexstringRequeridoExample:
milestone within the group of milestones in the escrow
1newEvidencestringRequeridoExample:
New value for the evidence property within the escrow milestone
EvidencenewStatusstringRequeridoExample:
New value for the status property within the escrow milestone
CompletedserviceProviderstringRequeridoExample:
Address of the entity providing the service
CompletedRespuestas
201
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:
- Escrow not found
- Only the service provider can change milestone status
- Invalid milestone index
- Escrow initialized without milestone
- An unexpected error occurred
application/json
post
/escrow/multi-release/change-milestone-status
¿Qué devuelve este Endpoint?
Ejemplo de uso:
Última actualización
¿Te fue útil?