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)

Indicador que informa se um marco foi aprovado pelo aprovador

Papéis:

Nome
Tipo
Descrição

aprovador

string

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

fornecedorDeServico

string

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

enderecoPlataforma

string

Endereço da entidade que possui o escrow

assinanteDeLiberacao

string

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

resolutorDeDisputa

string

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

recebedor

string

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

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

amountnumberObrigatório

Amount to be transferred upon completion of escrow milestones

Example: 1000
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/single-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?