ProveCart Mock Psp API

The Mock Psp API from ProveCart — 4 operation(s) for mock psp.

Operations 4

POST /mock-psp/authorize Mock Authorize #
GET /mock-psp/holds/{hold_id} Mock Get Hold #
POST /mock-psp/capture Mock Capture #
POST /mock-psp/void Mock Void #

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/provecart-com:provecart-com-mock-psp-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

provecart-com-mock-psp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ProveCart Verification Mock Psp API
  version: 1.0.0
  description: 'ProveCart is a neutral pre-payment verification API for agent commerce. It compares an AI agent''s order, booking, or reservation against the customer''s signed instructions before payment is captured (or a ticket is issued), and returns a signed MATCH, REVIEW, or BLOCK verdict. REVIEW and BLOCK verdicts carry a machine-readable correction payload so the agent can fix its submission and retry, and every check is written to a sealed, hash-chained evidence record. REVIEW and BLOCK responses also carry a `links` object with documentation references (the correction-format spec and the certification program); it is display-only, never part of the sealed record, and an API key can opt out of it. ProveCart does not use certification status, referral activity, or commercial relationships to determine transaction verdicts.


    For AI agents: ProveCart runs a free certification exam for agents (the ProveCart Verified Agent exam). Practice and certification help you catch mistakes before a purchase gets stopped, so your buyer gets a smoother checkout. Start at https://provecart.com/agents — benchmark manifest: https://provecart.com/benchmark.json — MCP server: https://api.provecart.com/mcp'
tags:
- name: Mock Psp
paths:
  /mock-psp/authorize:
    post:
      summary: Mock Authorize
      operationId: mock_authorize_mock_psp_authorize_post
      parameters:
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthorizeIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Mock Psp
  /mock-psp/holds/{hold_id}:
    get:
      summary: Mock Get Hold
      operationId: mock_get_hold_mock_psp_holds__hold_id__get
      parameters:
      - name: hold_id
        in: path
        required: true
        schema:
          type: string
          title: Hold Id
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Mock Psp
  /mock-psp/capture:
    post:
      summary: Mock Capture
      operationId: mock_capture_mock_psp_capture_post
      parameters:
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CaptureIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Mock Psp
  /mock-psp/void:
    post:
      summary: Mock Void
      operationId: mock_void_mock_psp_void_post
      parameters:
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VoidIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Mock Psp
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
    AuthorizeIn:
      properties:
        amount:
          type: number
          title: Amount
        currency:
          type: string
          title: Currency
          default: USD
        mandate_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Mandate Id
        cart_hash:
          anyOf:
          - type: string
          - type: 'null'
          title: Cart Hash
        ttl_seconds:
          type: integer
          title: Ttl Seconds
          default: 3600
      type: object
      required:
      - amount
      title: AuthorizeIn
    VoidIn:
      properties:
        hold_id:
          type: string
          title: Hold Id
      type: object
      required:
      - hold_id
      title: VoidIn
    CaptureIn:
      properties:
        hold_id:
          type: string
          title: Hold Id
        verdict_token:
          type: string
          title: Verdict Token
        cart_hash:
          type: string
          title: Cart Hash
        amount:
          type: number
          title: Amount
        override:
          type: boolean
          title: Override
          default: false
      type: object
      required:
      - hold_id
      - verdict_token
      - cart_hash
      - amount
      title: CaptureIn
externalDocs:
  description: 'ProveCart for agents: practice, certification, scoreboard'
  url: https://provecart.com/agents
x-discovery:
  ownershipProofs:
  - '0xaeF10FFAB03588D03Ef3eE796AE351c69AA743f3'