Escrow
Hold Funds in Escrow
Move funds from a user wallet into the application’s escrow wallet, where they are held until released or refunded.
POST
Holds a specified amount from a user’s wallet in your application’s escrow wallet. The funds are debited from the sender immediately and held (status
held) until you release them to a recipient or refund them to the sender.
Escrow must be enabled for your application. If it isn’t, this endpoint returns
403. Contact HostPay or enable escrow from your dashboard.Headers
Optional but recommended for this money-moving call. Retries with the same
key within 24 hours return the original result instead of creating a duplicate hold.
Request Body
The unique identifier of the user wallet to hold funds from.
The amount to hold in escrow, in the application’s base currency. Must be greater than 0.
An optional description for the hold (default: “Funds held in escrow”).
Response
The unique identifier of the escrow transaction. Use this ID to release or refund the hold.
The ID of the sender wallet the funds were held from.
The ID of the application escrow wallet now holding the funds.
The transaction amount.
The amount currently held in escrow for this transaction.
The transaction type (
escrow_hold).The current status of the escrow transaction (
held).ISO 8601 timestamp of when the hold was created.