API · Exit · Corporate Transactions
Create an escrow.
Open a holdback escrow against an in-flight M&A transaction. Standard structure in venture-backed deals: a defined slice of the transaction consideration (commonly 5–15%) is held by a third-party escrow agent for 12–24 months to backstop seller representations, indemnities, and post-close adjustments.
Funded at closing — Matter wires the escrow amount to the named agent from the closing balance sheet; releases (partial or full) mature on the release_schedule[] entries you pass and Matter generates the release notice and counterparty consent each release requires.
Sizing - amount — fixed monetary holdback. Use when the escrow is independently negotiated, e.g. a flat number not tied to consideration. - percent_of_consideration_basis_points — floating holdback as a fraction of total consideration. Recomputed at closing if consideration shifts due to working-capital adjustments. The more common shape for VC-backed deals.
Common purpose tags - general_indemnity — backstop against R&W breaches and undisclosed liabilities. - tax_indemnity — narrow escrow for known or estimated pre-close tax exposure. - working_capital_adjustment — shorter-tenor (60–90 day) holdback against the post-close net-working-capital true-up. - specific_indemnity — bespoke escrow against a named risk identified in due diligence.
Returns 202 Accepted. On completion, emits one of: corporate_transaction.created, corporate_transaction.advanced, corporate_transaction.closed, corporate_transaction.terminated. Subscribe via `POST /v1/webhook_endpoints` to consume. Idempotent via Idempotency-Key. See idempotency.
See also: Cookbook: acquire a company, Corporate transactions API overview.
Last updated
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
amountobjectOptionalCurrency amount in the smallest unit (cents for USD).
amountintegerRequiredInteger in smallest unit. 100 = USD 1.00.
currencystringRequiredISO 4217 alpha-3, lower-cased.
percent_of_consideration_basis_pointsintegerOptionalperiod_monthsintegerRequiredagentstringOptionalpurposearray<string>Requiredrelease_schedulearray<object>Optionalscheduled_datestring<date>RequiredamountobjectRequiredCurrency amount in the smallest unit (cents for USD).
amountintegerRequiredInteger in smallest unit. 100 = USD 1.00.
currencystringRequiredISO 4217 alpha-3, lower-cased.
metadataobjectOptionalFlat string-to-string map. Up to 50 keys. Keys: max 40 chars, charset
[A-Za-z0-9_\\-.]. Values: max 500 chars. Keys prefixed matter_ are reserved
for platform use. Metadata is retrievable but not filterable via query params.
Response Body
application/json
Request
curl -X POST "https://api.mattermode.com/v1/corporate_transactions/{id}/escrows" \ -H "Content-Type: application/json" \ -d '{ "amount": { "amount": 50000, "currency": "usd" }, "percent_of_consideration_basis_points": 0, "period_months": 1, "agent": "string", "purpose": [ "indemnity" ], "release_schedule": [ { "scheduled_date": "2026-04-25", "amount": { "amount": 0, "currency": "usd" } } ], "metadata": {} }'const body = JSON.stringify({ "amount": { "amount": 50000, "currency": "usd" }, "percent_of_consideration_basis_points": 0, "period_months": 1, "agent": "string", "purpose": [ "indemnity" ], "release_schedule": [ { "scheduled_date": "2026-04-25", "amount": { "amount": 0, "currency": "usd" } } ], "metadata": {}})fetch("https://api.mattermode.com/v1/corporate_transactions/{id}/escrows", { method: "POST", headers: { "Content-Type": "application/json" }, body})package mainimport ( "fmt" "net/http" "io/ioutil" "strings")func main() { url := "https://api.mattermode.com/v1/corporate_transactions/{id}/escrows" body := strings.NewReader(`{ "amount": { "amount": 50000, "currency": "usd" }, "percent_of_consideration_basis_points": 0, "period_months": 1, "agent": "string", "purpose": [ "indemnity" ], "release_schedule": [ { "scheduled_date": "2026-04-25", "amount": { "amount": 0, "currency": "usd" } } ], "metadata": {} }`) req, _ := http.NewRequest("POST", url, body) req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body))}import requestsheaders = { "Authorization": "Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc", "Matter-Version": "2026-06-10", "Idempotency-Key": "ee7c3a9b-3f1a-4d8e-9b2a-7c5e1f0a2d4b",}payload = { "amount": { "amount": 50000, "currency": "usd" }, "percent_of_consideration_basis_points": 0, "period_months": 1, "agent": "string", "purpose": [ "indemnity" ], "release_schedule": [ { "scheduled_date": "2026-04-25", "amount": { "amount": 0, "currency": "usd" } } ], "metadata": {}}resp = requests.post( "https://api.mattermode.com/v1/corporate_transactions/ctx_T6yLpQ2w/escrows", headers=headers, json=payload,)resp.raise_for_status()print(resp.json())import java.net.URI;import java.net.http.HttpClient;import java.net.http.HttpRequest;import java.net.http.HttpResponse;import java.net.http.HttpResponse.BodyHandlers;import java.time.Duration;import java.net.http.HttpRequest.BodyPublishers;var body = BodyPublishers.ofString("""{ "amount": { "amount": 50000, "currency": "usd" }, "percent_of_consideration_basis_points": 0, "period_months": 1, "agent": "string", "purpose": [ "indemnity" ], "release_schedule": [ { "scheduled_date": "2026-04-25", "amount": { "amount": 0, "currency": "usd" } } ], "metadata": {}}""");HttpClient client = HttpClient.newBuilder() .connectTimeout(Duration.ofSeconds(10)) .build();HttpRequest.Builder requestBuilder = HttpRequest.newBuilder() .uri(URI.create("https://api.mattermode.com/v1/corporate_transactions/{id}/escrows")) .header("Content-Type", "application/json") .POST(body) .build();try { HttpResponse<String> response = client.send(requestBuilder.build(), BodyHandlers.ofString()); System.out.println("Status code: " + response.statusCode()); System.out.println("Response body: " + response.body());} catch (Exception e) { e.printStackTrace();}using System;using System.Net.Http;using System.Text;var body = new StringContent("""{ "amount": { "amount": 50000, "currency": "usd" }, "percent_of_consideration_basis_points": 0, "period_months": 1, "agent": "string", "purpose": [ "indemnity" ], "release_schedule": [ { "scheduled_date": "2026-04-25", "amount": { "amount": 0, "currency": "usd" } } ], "metadata": {}}""", Encoding.UTF8, "application/json");var client = new HttpClient();var response = await client.PostAsync("https://api.mattermode.com/v1/corporate_transactions/{id}/escrows", body);var responseBody = await response.Content.ReadAsStringAsync();curl --request POST 'https://api.mattermode.com/v1/corporate_transactions/ctx_T6yLpQ2w/escrows' \ --header 'Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc' \ --header 'Matter-Version: 2026-06-10' \ --header 'Idempotency-Key: ee7c3a9b-3f1a-4d8e-9b2a-7c5e1f0a2d4b' \ --header 'Content-Type: application/json' \ --data '{ "amount": { "amount": 50000, "currency": "usd" }, "percent_of_consideration_basis_points": 0, "period_months": 1, "agent": "string", "purpose": [ "indemnity" ], "release_schedule": [ { "scheduled_date": "2026-04-25", "amount": { "amount": 0, "currency": "usd" } } ], "metadata": {}}'const response = await fetch("https://api.mattermode.com/v1/corporate_transactions/ctx_T6yLpQ2w/escrows", { method: "POST", headers: { "Authorization": "Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc", "Matter-Version": "2026-06-10", "Idempotency-Key": "ee7c3a9b-3f1a-4d8e-9b2a-7c5e1f0a2d4b", "Content-Type": "application/json", }, body: JSON.stringify({ "amount": { "amount": 50000, "currency": "usd" }, "percent_of_consideration_basis_points": 0, "period_months": 1, "agent": "string", "purpose": [ "indemnity" ], "release_schedule": [ { "scheduled_date": "2026-04-25", "amount": { "amount": 0, "currency": "usd" } } ], "metadata": {} }),});if (!response.ok) { throw new Error(`Matter API ${response.status}: ${await response.text()}`);}const data = await response.json();console.log(data);Response
202Escrow created.
application/json{
"resource": {
"id": "string",
"object": "escrow",
"corporate_transaction_id": "ctx_9hNm2Bxy",
"amount": {
"amount": 0,
"currency": "usd"
},
"period_months": 1,
"status": "funded",
"created": 1745539200,
"updated": 1745539200,
"livemode": false
},
"intent": {
"id": "string",
"object": "intent",
"goal": "form_startup_ready_corporation",
"parameters": {},
"status": "draft",
"created": 1745539200,
"updated": 1745539200,
"livemode": false
},
"execution_plan": {
"steps": [
{
"operation": "string",
"status": "pending"
}
]
},
"authorization": {
"id": "string",
"object": "authorization",
"token_id": "tok_4Kj2m8pQ",
"action": "string",
"payload_hash": "string",
"status": "pending",
"expires_at": 1745539200,
"created": 1745539200,
"updated": 1745539200,
"livemode": false
},
"pending_filings": [
{
"id": "string",
"object": "filing",
"entity_id": "ent_Nq3KcAbc",
"type": "certificate_of_amendment",
"jurisdiction": "US-DE",
"status": "preparing",
"created": 1745539200,
"updated": 1745539200,
"livemode": false
}
],
"cascaded_documents": [
{
"id": "string",
"object": "document",
"entity_id": "ent_Nq3KcAbc",
"type": "certificate_of_incorporation",
"status": "draft",
"sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"version": 1,
"created": 1745539200,
"updated": 1745539200,
"livemode": false
}
],
"cascaded_resolutions": [
{
"id": "string",
"object": "resolution",
"entity_id": "ent_Nq3KcAbc",
"kind": "board_meeting",
"subject": "Approval of 2026 Equity Plan and initial pool of 2,000,000 shares",
"created": 1745539200,
"updated": 1745539200,
"livemode": false
}
],
"events_emitted": [
"string"
],
"applied_defaults": [
"string"
],
"next_steps": [
{
"endpoint": "POST /v1/entities/ent_Nq3KcAbc/tax_elections",
"reason": "Founder restricted-stock issuances require 83(b) within 30 days."
}
]
}