Release Funds
You release the escrow funds to the service provider through the approver.
Headers
Name
Value
Content-Type
application/json
x-api-key
<token>
Open API
post
Authorizations
Body
contractIdstringRequiredExample:
ID (address) that identifies the escrow contract
CAZ6UQX7...releaseSignerstringRequiredExample:
Address of the user in charge of releasing the escrow funds to the receiver
GREL...XYZResponses
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:
- The escrow funds have been released
- This escrow is already resolved
- Only the release signer can release the escrow earnings
- Escrow initialized without milestone
- The escrow must be completed to release earnings
- Escrow has been opened for dispute resolution
- Escrow not found
- An unexpected error occurred
application/json
post
/escrow/single-release/release-funds
What this Endpoint returns?
This endpoint returns the transaction unsigned so that the transaction can be signed by means of a customer wallet.
Use Example:
Last updated
Was this helpful?