settle/processor/submit
https://toip.tools/spec/settle/processor/submit/0.1
A party sends the processor a partly signed transaction: an escrow open, reclaim or claim. The processor checks that it holds one Settle instruction that uses the processor's key only for fees and rent, and, for an open, that it matches terms both parties signed. Then it co-signs as fee payer and submits it.
- Sent
- payer's or payee's party processor
- Kind
- Request and response. The response's type is
https://toip.tools/spec/settle/processor/submit/0.1#response. - Envelope
- Signed by the issuer, addressed to one recipient, timestamped, and encrypted in a TSP Direct message. The signature and recipient binding prevent its use as a bearer token.
- Defined in
projects/settle/src/protocol/specs.ts:20asPROCESSOR_SUBMIT- Handled in
projects/settle/src/agents/roles.ts- Design
- 15. Implementation notes (2026-11-06) in
projects/settle/docs/design.md
Source documentation: “Request/response: a partially signed transaction the processor co-signs as fee payer and submits.”
Payload
export interface SubmitPayload {
transaction: string;
/** For an open: the terms and both acceptances, which the processor checks before paying for anything. */
terms?: Terms;
acceptances?: Acceptance[];
}
Response payload
export type SubmitResult = { ok: boolean; signature?: string; error?: string };
Notes
Design section 7 says every Settle task is one-way. This one is request/response. A refusal comes back as { ok: false, error }.
Document envelope
Every Trust Task uses this envelope. Replace payload with the structure shown above.
{
"id": "urn:uuid:…",
"type": "https://toip.tools/spec/settle/processor/submit/0.1",
"issuer": "did:key:… (the sender)",
"recipient": "did:key:… (the receiver)",
"issuedAt": "2026-11-06T18:00:00.000Z",
"payload": { … },
"proof": {
"type": "DataIntegrityProof",
"cryptosuite": "eddsa-jcs-2022",
"verificationMethod": "did:key:…#…",
"proofPurpose": "assertionMethod",
"proofValue": "z…"
}
}