escrow__open_escrow
Open a trustless escrow between payer and payee with amount in minor units. Platform fee is computed and frozen at open, with retry-safe idempotency via open_ref.
Instructions
[escrow — trustless escrow & settlement (exactly-once)] Open an escrow between payer and payee. amount_minor is a positive integer in minor units (cents). The platform fee is computed and FROZEN at open (ceil bps). Returns the escrow_id (state OPEN). RETRY-SAFE: pass open_ref= and a replayed open returns the ORIGINAL escrow (duplicate=true) instead of minting another one (E10).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payee | Yes | ||
| payer | Yes | ||
| terms | No | ||
| fee_bps | No | ||
| currency | No | USD | |
| deadline | No | ||
| open_ref | No | ||
| amount_minor | Yes |