Peer API

Peer API as documented publicly: 27 operations. Contract generated from the documentation by API Evangelist (2026-11-20); not the provider's own document.

GitHub OpenAPI

Operations 27

POST /api/v1/checkout-grants Create a grant #
GET /api/v1/integration/status Let a coding agent integrate #
GET /api/v1/merchants/me getMerchant #
GET /api/v1/merchants/me/invoice Get an invoice #
GET /api/v1/merchants/me/orders GET /api/v1/merchants/me/orders #
GET /api/v1/merchants/me/orders/{orderid} Orders | Peer Pay Docs #
GET /api/v1/merchants/me/orders/{orderid}/actions/{actionid} Poll an action #
GET /api/v1/merchants/me/orders/{orderid}/payments List payments for an order #
POST /api/v1/merchants/me/orders/{orderid}/payments/{paymentid}/extend Extend #
POST /api/v1/merchants/me/orders/{orderid}/payments/{paymentid}/fulfill-sar Fulfill from a transaction id #
POST /api/v1/merchants/me/orders/{orderid}/payments/{paymentid}/recreate Recreate #
GET /api/v1/merchants/me/payments List payments #
GET /api/v1/merchants/me/payouts/summary Deferred payout state #
POST /api/v1/merchants/me/quotes/availability checkQuoteAvailability #
GET /api/v1/merchants/me/tier-usage Watching your usage #
POST /api/v1/orders Create a checkout #
POST /api/v1/orders/{orderid}/create-payment Create a payment #
GET /api/v1/orders/{orderid} Get an order by id #
GET /api/v1/payouts List payouts #
POST /api/v1/payouts Create a payout #
GET /api/v1/payouts/{id} Get a payout #
POST /api/v1/payouts/{id}/cancel Cancel a payout #
POST /api/v1/sandbox/test-order Sandbox key Let a coding agent integrate #
GET /api/v1/webhooks Webhooks #
DELETE /api/v1/webhooks/{webhookid} Webhooks #
GET /api/v1/webhooks/{webhookid}/deliveries Manage webhooks #
POST /api/v1/webhooks/{webhookid}/test Manage webhooks #

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/peer-xyz:peer-xyz-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

peer-xyz-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Peer API
  version: '2026-11-20'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-20: 27 operation(s) read from 6 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Peer has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 3
    documentation: 24
    pages-with-code: 4
    pages-read: 6
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-20'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.pay.peer.xyz/api
  - https://docs.pay.peer.xyz/api/orders
  - https://docs.pay.peer.xyz/api/invoice
  - https://docs.pay.peer.xyz/api/payouts
  - https://docs.pay.peer.xyz/api/payments
  - https://docs.pay.peer.xyz/api/remediation
servers:
- url: https://api.pay.peer.xyz
paths:
  /api/v1/checkout-grants:
    post:
      operationId: post_api_v1_checkout_grants
      tags:
      - Api
      summary: Create a grant
      description: POST /api/v1/checkout-grants API key Create a grant
      x-source: https://docs.pay.peer.xyz/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/integration/status:
    get:
      operationId: get_api_v1_integration_status
      tags:
      - Api
      summary: Let a coding agent integrate
      description: Endpoint to let a coding agent integrate.
      x-source: https://docs.pay.peer.xyz/api
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1IntegrationStatusResponse'
      x-evidence:
        kind: documentation
  /api/v1/merchants/me:
    get:
      operationId: get_api_v1_merchants_me
      tags:
      - Api
      summary: getMerchant
      description: GET /api/v1/merchants/me API key getMerchant
      x-source: https://docs.pay.peer.xyz/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/merchants/me/invoice:
    get:
      operationId: get_api_v1_merchants_me_invoice
      tags:
      - Api
      summary: Get an invoice
      description: API key Get an invoice
      x-source: https://docs.pay.peer.xyz/api
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1MerchantsMeInvoiceResponse'
      x-evidence:
        kind: documentation
  /api/v1/merchants/me/orders:
    get:
      operationId: get_api_v1_merchants_me_orders
      tags:
      - Api
      summary: GET /api/v1/merchants/me/orders
      x-source: https://docs.pay.peer.xyz/api
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1MerchantsMeOrdersResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://api.pay.peer.xyz/api/v1/merchants/me/orders \\ -H \"X-API-Key: $ZKPAY_API_KEY \" \n Server-side only An API key\
          \ reads and creates orders and payouts for your whole account. Send it only from a\ntrusted backend, never from browser or mobile code.\
          \ \n Sandbox and live are separate accounts with separate keys. A sandbox key sees only sandbox\ndata, and a live key only live data.\
          \ A missing or unk"
  /api/v1/merchants/me/orders/{orderid}:
    get:
      operationId: get_api_v1_merchants_me_orders_orderid
      tags:
      - Api
      summary: Orders | Peer Pay Docs
      description: Read a single order by id; this route needs a dashboard session.
      x-source: https://docs.pay.peer.xyz/api/orders
      parameters:
      - name: orderid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/merchants/me/orders/{orderid}/actions/{actionid}:
    get:
      operationId: get_api_v1_merchants_me_orders_orderid_actions_actionid
      tags:
      - Api
      summary: Poll an action
      description: API key Poll an action
      x-source: https://docs.pay.peer.xyz/api
      parameters:
      - name: orderid
        in: path
        required: true
        schema:
          type: string
      - name: actionid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1MerchantsMeOrdersOrderidActionsActionidResponse'
      x-evidence:
        kind: documentation
  /api/v1/merchants/me/orders/{orderid}/payments:
    get:
      operationId: get_api_v1_merchants_me_orders_orderid_payments
      tags:
      - Api
      summary: List payments for an order
      description: API key List payments for an order
      x-source: https://docs.pay.peer.xyz/api
      parameters:
      - name: orderid
        in: path
        required: true
        schema:
          type: string
      - name: page
        in: query
        required: false
        schema:
          type: integer
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1MerchantsMeOrdersOrderidPaymentsResponse'
      x-evidence:
        kind: documentation
  /api/v1/merchants/me/orders/{orderid}/payments/{paymentid}/extend:
    post:
      operationId: post_api_v1_merchants_me_orders_orderid_payments_paymentid_extend
      tags:
      - Api
      summary: Extend
      description: API key Extend
      x-source: https://docs.pay.peer.xyz/api
      parameters:
      - name: orderid
        in: path
        required: true
        schema:
          type: string
      - name: paymentid
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1MerchantsMeOrdersOrderidPaymentsPaymentidExtendResp'
      x-evidence:
        kind: documentation
  /api/v1/merchants/me/orders/{orderid}/payments/{paymentid}/fulfill-sar:
    post:
      operationId: post_api_v1_merchants_me_orders_orderid_payments_paymentid_fulfill_sar
      tags:
      - Api
      summary: Fulfill from a transaction id
      description: API key Fulfill from a transaction id
      x-source: https://docs.pay.peer.xyz/api
      parameters:
      - name: orderid
        in: path
        required: true
        schema:
          type: string
      - name: paymentid
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1MerchantsMeOrdersOrderidPaymentsPaymentidFulfillSar'
      x-evidence:
        kind: documentation
  /api/v1/merchants/me/orders/{orderid}/payments/{paymentid}/recreate:
    post:
      operationId: post_api_v1_merchants_me_orders_orderid_payments_paymentid_recreate
      tags:
      - Api
      summary: Recreate
      description: API key Recreate
      x-source: https://docs.pay.peer.xyz/api
      parameters:
      - name: orderid
        in: path
        required: true
        schema:
          type: string
      - name: paymentid
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1MerchantsMeOrdersOrderidPaymentsPaymentidRecreateRe'
      x-evidence:
        kind: documentation
  /api/v1/merchants/me/payments:
    get:
      operationId: get_api_v1_merchants_me_payments
      tags:
      - Api
      summary: List payments
      description: API key List payments
      x-source: https://docs.pay.peer.xyz/api
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1MerchantsMePaymentsResponse'
      x-evidence:
        kind: documentation
  /api/v1/merchants/me/payouts/summary:
    get:
      operationId: get_api_v1_merchants_me_payouts_summary
      tags:
      - Api
      summary: Deferred payout state
      description: API key Deferred payout state
      x-source: https://docs.pay.peer.xyz/api
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1MerchantsMePayoutsSummaryResponse'
      x-evidence:
        kind: documentation
  /api/v1/merchants/me/quotes/availability:
    post:
      operationId: post_api_v1_merchants_me_quotes_availability
      tags:
      - Api
      summary: checkQuoteAvailability
      description: POST /api/v1/merchants/me/quotes/availability API key checkQuoteAvailability
      x-source: https://docs.pay.peer.xyz/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/merchants/me/tier-usage:
    get:
      operationId: get_api_v1_merchants_me_tier_usage
      tags:
      - Api
      summary: Watching your usage
      description: GET /api/v1/merchants/me/tier-usage API key Watching your usage
      x-source: https://docs.pay.peer.xyz/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/orders:
    post:
      operationId: post_api_v1_orders
      tags:
      - Api
      summary: Create a checkout
      description: API key createCheckout , open-amount orders
      x-source: https://docs.pay.peer.xyz/api
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1OrdersResponse'
      x-evidence:
        kind: documentation
  /api/v1/orders/{orderid}/create-payment:
    post:
      operationId: post_api_v1_orders_orderid_create_payment
      tags:
      - Api
      summary: Create a payment
      description: Creates a payment for the specified order. Requires refundTo for every crypto payment funded from a wallet.
      x-source: https://docs.pay.peer.xyz/api/payments
      parameters:
      - name: orderid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1OrdersOrderidCreatePaymentRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/orders/{orderid}:
    get:
      operationId: get_api_v1_orders_orderid
      tags:
      - Api
      summary: Get an order by id
      description: None Get an order by id
      x-source: https://docs.pay.peer.xyz/api
      parameters:
      - name: orderid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1OrdersOrderidResponse'
      x-evidence:
        kind: documentation
  /api/v1/payouts:
    get:
      operationId: get_api_v1_payouts
      tags:
      - Api
      summary: List payouts
      description: GET /api/v1/payouts API key List payouts
      x-source: https://docs.pay.peer.xyz/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_v1_payouts
      tags:
      - Api
      summary: Create a payout
      description: API key Create a payout
      x-source: https://docs.pay.peer.xyz/api
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1PayoutsResponse'
      x-evidence:
        kind: documentation
  /api/v1/payouts/{id}:
    get:
      operationId: get_api_v1_payouts_id
      tags:
      - Api
      summary: Get a payout
      description: GET /api/v1/payouts/{id} API key Get a payout
      x-source: https://docs.pay.peer.xyz/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/payouts/{id}/cancel:
    post:
      operationId: post_api_v1_payouts_id_cancel
      tags:
      - Api
      summary: Cancel a payout
      description: POST /api/v1/payouts/{id}/cancel API key Cancel a payout
      x-source: https://docs.pay.peer.xyz/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/sandbox/test-order:
    post:
      operationId: post_api_v1_sandbox_test_order
      tags:
      - Api
      summary: Sandbox key Let a coding agent integrate
      description: POST /api/v1/sandbox/test-order Sandbox key Let a coding agent integrate
      x-source: https://docs.pay.peer.xyz/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/webhooks:
    get:
      operationId: get_api_v1_webhooks
      tags:
      - Api
      summary: Webhooks
      description: POST , GET /api/v1/webhooks ; PATCH , DELETE /api/v1/webhooks/{webhookId} API key Webhooks
      x-source: https://docs.pay.peer.xyz/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/webhooks/{webhookid}:
    delete:
      operationId: delete_api_v1_webhooks_webhookid
      tags:
      - Api
      summary: Webhooks
      description: POST , GET /api/v1/webhooks ; PATCH , DELETE /api/v1/webhooks/{webhookId} API key Webhooks
      x-source: https://docs.pay.peer.xyz/api
      parameters:
      - name: webhookid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/webhooks/{webhookid}/deliveries:
    get:
      operationId: get_api_v1_webhooks_webhookid_deliveries
      tags:
      - Api
      summary: Manage webhooks
      description: POST /api/v1/webhooks/{webhookId}/test , GET /api/v1/webhooks/{webhookId}/deliveries API key Manage webhooks
      x-source: https://docs.pay.peer.xyz/api
      parameters:
      - name: webhookid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/webhooks/{webhookid}/test:
    post:
      operationId: post_api_v1_webhooks_webhookid_test
      tags:
      - Api
      summary: Manage webhooks
      description: POST /api/v1/webhooks/{webhookId}/test , GET /api/v1/webhooks/{webhookId}/deliveries API key Manage webhooks
      x-source: https://docs.pay.peer.xyz/api
      parameters:
      - name: webhookid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    GetApiV1IntegrationStatusResponse:
      type: object
      properties:
        success:
          type: boolean
          description: true for a 2xx response
        message:
          type: string
          description: For logs. Don't match on it
        responseObject:
          type: object
          description: The payload. null on most failures
        statusCode:
          type: number
          description: Mirrors the HTTP status
    GetApiV1MerchantsMeInvoiceResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        responseObject:
          type: object
        statusCode:
          type: number
    GetApiV1MerchantsMeOrdersResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        responseObject:
          type: object
          properties:
            ? ''
            : type: string
        statusCode:
          type: integer
    GetApiV1MerchantsMeOrdersOrderidActionsActionidResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        responseObject:
          type: object
        statusCode:
          type: number
    GetApiV1MerchantsMeOrdersOrderidPaymentsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        responseObject:
          type: object
        statusCode:
          type: number
    PostApiV1MerchantsMeOrdersOrderidPaymentsPaymentidExtendResp:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        responseObject:
          type: object
        statusCode:
          type: number
    PostApiV1MerchantsMeOrdersOrderidPaymentsPaymentidFulfillSar:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        responseObject:
          type: object
        statusCode:
          type: number
    PostApiV1MerchantsMeOrdersOrderidPaymentsPaymentidRecreateRe:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        responseObject:
          type: object
        statusCode:
          type: number
    GetApiV1MerchantsMePaymentsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        responseObject:
          type: object
        statusCode:
          type: number
    GetApiV1MerchantsMePayoutsSummaryResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        responseObject:
          type: object
        statusCode:
          type: number
    PostApiV1OrdersResponse:
      type: object
      properties:
        success:
          type: boolean
          description: true for a 2xx response
        message:
          type: string
          description: For logs. Don't match on it
        responseObject:
          type: object
          description: The payload. null on most failures
        statusCode:
          type: number
          description: Mirrors the HTTP status
    PostApiV1OrdersOrderidCreatePaymentRequest:
      type: object
      properties:
        refundTo:
          type: string
          description: Refund address for crypto payments funded from a wallet.
      required:
      - refundTo
    GetApiV1OrdersOrderidResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        responseObject:
          type: object
        statusCode:
          type: number
    PostApiV1PayoutsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        responseObject:
          type: object
        statusCode:
          type: number
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
security:
- apiKey: []
tags:
- name: Api