Claim Escrow Earnings

Allows a user to withdraw their locked earnings from an escrow contract.

Only available on previous version.

POST escrow/claim-escrow-earnings

Headers

Name
Value

Content-Type

application/json

Body

Name
Type
Description

string

The unique identifier linking this escrow to a specific project or transaction.

string | Address

The address of the entity receiving the payment.

string

The unique identifier of the contract.

Example of Request Body:

{
  "engamentId": "test", 
  "serviceProvider": "GD2SVFOJ...",
  "contractId": "SCMXDC..."
}

Possible Responses

{
    "status": "SUCCESS",
    "unsignedTransaction": "AAAAAgAAAABfQAm/gS..."  // XDR Hash Transaction
}

What this Endpoint returns?

This endpoint returns the transaction unsigned so that the transaction can be signed by means of a customer wallet.

Last updated