Alterar Status do Marco
Responsável por alterar o status do marco de um escrow através do prestador de serviços.
Cabeçalhos
Nome
Valor
Open API
post
Autorizações
Corpo
contractIdstringObrigatórioExample:
ID (address) that identifies the escrow contract
CAZ6UQX7...milestoneIndexstringObrigatórioExample:
milestone within the group of milestones in the escrow
1newEvidencestringObrigatórioExample:
New value for the evidence property within the escrow milestone
EvidencenewStatusstringObrigatórioExample:
New value for the status property within the escrow milestone
CompletedserviceProviderstringObrigatórioExample:
Address of the entity providing the service
CompletedRespostas
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
O que este Endpoint retorna?
Exemplo de uso:
Atualizado
Isto foi útil?