circle-check
Our docs are AI-ready. Use them as context for any AI, or ask questions via the search bar.

circle-plusImplantar

Implemente o contrato de escrow e defina as propriedades do escrow.

Cabeçalhos

Nome
Valor

Content-Type

application/json

x-api-key

<token>

Marco

Nome
Tipo
Descrição

descrição

string

Texto descrevendo a função do marco

status

string (Valor padrão: "peding")

Status do marco. Ex: Aprovado, Em disputa, etc...

aprovado

booleano (Valor padrão: false)

Flag indicando se um marco foi aprovado pelo aprovador

quantia

string

Valor do marco

destinatário

string

Endereço para onde os recursos do escrow serão enviados

Papéis:

Nome
Tipo
Descrição

aprovador

string

Endereço da entidade que requer o serviço.

prestadorDeServiço

string

Endereço da entidade que fornece o serviço.

endereçoDaPlataforma

string

Endereço da entidade que possui o escrow

assinanteDeLiberação

string

Endereço do usuário responsável por liberar os fundos do escrow ao prestador de serviço.

resolvedorDeDisputas

string

Endereço responsável por resolver disputas dentro do escrow.

Trustline:

Nome
Tipo
Descrição

endereço

string

Endereço público que estabelece permissão para aceitar e usar um token específico.

símbolo

string

Abreviação oficial que representa o token em carteiras, exchanges e documentação.

Inicializar Escrow

post
Autorizações
Corpo
signerstringObrigatório

Entity that signs the transaction that deploys and initializes the escrow

Example: GABC...XYZ
engagementIdstringObrigatório

Unique identifier for the escrow

Example: ENG12345
titlestringObrigatório

Name of the escrow

Example: Escrow Test
descriptionstringObrigatório

Text describing the function of the escrow

Example: Escrow Test description
rolesobject[]Obrigatório

Roles that make up the escrow structure

platformFeenumberObrigatório

Commission that the platform will receive when the escrow is completed

Example: 5
milestonesobject[]Obrigatório

Objectives to be completed to define the escrow as completed. (In this case it is not necessary to send the properties “approvedFlag” and “status” inside the objects of these milestones)

trustlineobject[]Obrigatório

Information on the trustline that will manage the movement of funds in escrow

Respostas
post
/deployer/multi-release

O que este endpoint retorna?

Este endpoint retorna a transação não assinada para que a transação possa ser assinada por meio da carteira do cliente.

Exemplo de uso:

Atualizado

Isto foi útil?