Fund Escrow
Allows users to deposit funds into an existing escrow contract, securing them until the agreed conditions are met.
Headers
Name
Value
Content-Type
application/json
x-api-key
<token>
Open API
post
Authorizations
Body
contractIdstringRequiredExample:
ID (address) that identifies the escrow contract
ENG12345signerstringRequiredExample:
Entity that signs the transaction that deploys and initializes the escrow
GSIGN...XYZamountstringRequiredExample:
Amount to transfer to the escrow contract
100Responses
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:
- Amount cannot be equal to or less than zero
- The provided escrow properties do not match the stored escrow
- An unexpected error occurred
application/json
post
/escrow/single-release/fund-escrow
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?