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

# Submit transaction

> Submit a blockchain transaction hash for payment verification



## OpenAPI

````yaml openapi.json post /submit-transaction
openapi: 3.0.3
info:
  title: Warp API
  description: >-
    Comprehensive API for Warp platform including organizations, projects, ZK
    proofs, payments, and more
  version: 1.0.0
  contact:
    name: Warp Support
    email: support@usewarp.net
servers:
  - url: https://platform.usewarp.net
    description: Platform API
  - url: https://checkout.usewarp.net
    description: Checkout API
security:
  - bearerAuth: []
paths:
  /submit-transaction:
    post:
      tags:
        - Checkout API
      summary: Submit transaction
      description: Submit a blockchain transaction hash for payment verification
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitTransactionRequest'
      responses:
        '200':
          description: Transaction submitted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Transaction submitted successfully
        '400':
          description: Invalid request data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Failed to submit transaction
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    SubmitTransactionRequest:
      type: object
      properties:
        sessionId:
          type: string
          description: Payment session ID
        txHash:
          type: string
          pattern: ^0x
          description: Transaction hash
        chain:
          type: string
          description: Blockchain chain
        token:
          type: string
          description: Token symbol
        walletAddress:
          type: string
          description: Customer wallet address
        amount:
          type: string
          description: Payment amount
      required:
        - sessionId
        - txHash
        - chain
        - token
        - walletAddress
        - amount
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
        details:
          type: array
          items:
            type: object
          description: Detailed validation errors
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: JWT Bearer token authentication

````