> ## Documentation Index
> Fetch the complete documentation index at: /llms.txt
> Use this file to discover all available pages before exploring further.

# Verify a version-2 credit envelope

> Gate check only. Does not capture or settle. Requires x402:settle:read.



## OpenAPI

````yaml /api-reference/openapi.json post /facilitator/verify
openapi: 3.1.0
info:
  title: SohoPay Facilitator API
  version: 2.0.0
  description: >-
    Merchant facilitator for x402 Protocol V2. Staging is the supported
    environment. Agents use hosted MCP and are not described by this document.
    There is no POST /settle.
servers:
  - url: https://staging.api.sohopay.ai/api/v1
    description: Staging (Base Sepolia, Protocol V2)
  - url: https://api.sohopay.ai/api/v1
    description: >-
      Production (Base mainnet). Protocol V2 settlement is not enabled for
      general integrators until cutover.
security: []
tags:
  - name: Facilitator
    description: Verify, capture, and poll x402 credit payments.
paths:
  /facilitator/verify:
    post:
      tags:
        - Facilitator
      summary: Verify a version-2 credit envelope
      description: Gate check only. Does not capture or settle. Requires x402:settle:read.
      operationId: verifyPayment
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CaptureRequest'
      responses:
        '200':
          description: Verification result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerifyResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    CaptureRequest:
      type: object
      required:
        - x402Version
        - paymentPayload
      properties:
        x402Version:
          type: integer
          const: 2
        paymentPayload:
          type: object
          description: >-
            x402 version-2 credit-scheme envelope (voucher plus agent
            signature).
        paymentRequirements:
          type: object
          description: Optional echo of the 402 payment requirements.
    VerifyResponse:
      type: object
      properties:
        isValid:
          type: boolean
        invalidReason:
          type: string
        payer:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Merchant user JWT or sk_live_ API key.

````