Cambiar estado del hito
Responsable de cambiar el estado del hito de un escrow a través del proveedor del servicio.
Encabezados
Nombre
Valor
API Abierta
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/single-release/change-milestone-status
¿Qué devuelve este endpoint?
Ejemplo de uso:
Última actualización
¿Te fue útil?