Attested Memory Deals API

The Deals API from Attested Memory — 7 operation(s) for deals.

Operations 7

POST /v1/deals Create Deal #
GET /v1/deals/{deal_id} Read Deal #
GET /v1/deals/{deal_id}/events Read Events #
POST /v1/deals/{deal_id}/evidence Submit Evidence #
POST /v1/deals/{deal_id}/release Release Deal #
POST /v1/deals/{deal_id}/refund Refund Deal #
POST /v1/deals/{deal_id}/dispute Open Dispute #

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-deal-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-bond-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-challenge-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-evidence-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-trial-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-dispute-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-receipt-verify-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-permission-violation-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-invoke-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-ipo-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-channel-open-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-announce-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-price-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-own-price-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-publisher-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-authorize-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-memory-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-capture-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-receipt-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-scope-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-bind-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-world-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-passport-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-verify-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-member-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-order-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-confirm-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-team-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-read-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-team-memory-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-team-member-schema.json
📊
JSONSchema
https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-team-create-schema.json

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/attestedmemory-net:attestedmemory-net-deals-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

attestedmemory-net-deals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Attested Deal Deals API
  description: Escrow that releases on proof, not on trust.
  version: 1.0.0
tags:
- name: Deals
paths:
  /v1/deals:
    post:
      summary: Create Deal
      operationId: create_deal_v1_deals_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DealRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Create Deal V1 Deals Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Deals
  /v1/deals/{deal_id}:
    get:
      summary: Read Deal
      operationId: read_deal_v1_deals__deal_id__get
      parameters:
      - name: deal_id
        in: path
        required: true
        schema:
          type: string
          title: Deal Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Read Deal V1 Deals  Deal Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Deals
  /v1/deals/{deal_id}/events:
    get:
      summary: Read Events
      operationId: read_events_v1_deals__deal_id__events_get
      parameters:
      - name: deal_id
        in: path
        required: true
        schema:
          type: string
          title: Deal Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Read Events V1 Deals  Deal Id  Events Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Deals
  /v1/deals/{deal_id}/evidence:
    post:
      summary: Submit Evidence
      operationId: submit_evidence_v1_deals__deal_id__evidence_post
      parameters:
      - name: deal_id
        in: path
        required: true
        schema:
          type: string
          title: Deal Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EvidenceRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Submit Evidence V1 Deals  Deal Id  Evidence Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Deals
  /v1/deals/{deal_id}/release:
    post:
      summary: Release Deal
      operationId: release_deal_v1_deals__deal_id__release_post
      parameters:
      - name: deal_id
        in: path
        required: true
        schema:
          type: string
          title: Deal Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Release Deal V1 Deals  Deal Id  Release Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Deals
  /v1/deals/{deal_id}/refund:
    post:
      summary: Refund Deal
      operationId: refund_deal_v1_deals__deal_id__refund_post
      parameters:
      - name: deal_id
        in: path
        required: true
        schema:
          type: string
          title: Deal Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Refund Deal V1 Deals  Deal Id  Refund Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Deals
  /v1/deals/{deal_id}/dispute:
    post:
      summary: Open Dispute
      operationId: open_dispute_v1_deals__deal_id__dispute_post
      parameters:
      - name: deal_id
        in: path
        required: true
        schema:
          type: string
          title: Deal Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DisputeRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Open Dispute V1 Deals  Deal Id  Dispute Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Deals
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    EvidenceRequest:
      properties:
        reference:
          type: string
          maxLength: 200
          title: Reference
          default: ''
        document:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Document
        signature:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Signature
      type: object
      title: EvidenceRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DealRequest:
      properties:
        title:
          type: string
          maxLength: 160
          minLength: 3
          title: Title
        seller:
          type: string
          maxLength: 42
          minLength: 42
          title: Seller
        seller_actor:
          anyOf:
          - type: string
            pattern: ^did:actor:[0-9a-f]{64}$
          - type: 'null'
          title: Seller Actor
        buyer:
          type: string
          maxLength: 42
          minLength: 42
          title: Buyer
        amount_usdc:
          type: string
          maxLength: 32
          minLength: 1
          title: Amount Usdc
        condition_kind:
          type: string
          pattern: ^(provenance_receipt|truth_claim|attestation|buyer_accept)$
          title: Condition Kind
        condition_ref:
          type: string
          maxLength: 200
          minLength: 1
          title: Condition Ref
        condition_issuer:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Condition Issuer
        deadline_hours:
          type: integer
          maximum: 8760.0
          minimum: 1.0
          title: Deadline Hours
          default: 168
        hold_seconds:
          type: integer
          maximum: 604800.0
          minimum: 0.0
          title: Hold Seconds
          default: 0
        require_trusted_slot:
          type: boolean
          title: Require Trusted Slot
          default: false
      type: object
      required:
      - title
      - seller
      - buyer
      - amount_usdc
      - condition_kind
      - condition_ref
      title: DealRequest
    DisputeRequest:
      properties:
        reason:
          type: string
          maxLength: 1000
          minLength: 8
          title: Reason
        evidence:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Evidence
      type: object
      required:
      - reason
      title: DisputeRequest