SolKnife Callbacks and reporting API

The Callbacks and reporting API from SolKnife — 3 operation(s) for callbacks and reporting.

GitHub OpenAPI

Operations 3

GET /api/analytics/summary Payment analytics summary #
GET /api/webhooks Callback delivery history #
POST /api/webhooks/{deliveryId}/retry Retry callback delivery #

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/solknife-xyz:solknife-xyz-callbacks-and-reporting-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

solknife-xyz-callbacks-and-reporting-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'Merchant API for SolKnife Gateway: Solana payment intents, subscription plans, customer subscriptions, and signed callbacks. Every response is a JSON envelope: { ok: true, data } on success, { ok: false, error: { code, message } } on failure.'
  title: SolKnife Gateway Callbacks and reporting API
  version: 1.0.0
servers:
- url: https://gate.solknife.xyz
tags:
- name: Callbacks and reporting
paths:
  /api/analytics/summary:
    get:
      description: Returns payment counts, confirmed gateway fee lamports including subscription collect fees, callback health, and indexed token count.
      operationId: get/api/analytics/summary
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    description: Payment analytics summary.
                    type: object
                  ok:
                    const: true
                    type: boolean
                required:
                - ok
                - data
                type: object
          description: Success.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: VALIDATION_ERROR or another request error.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: 'UNAUTHENTICATED: missing or invalid x-gateway-key.'
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: 'CONFLICT: the request conflicts with an existing record. SUBSCRIPTION_STATE_CHANGED: another request changed the subscription first; read it again and retry.'
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: 'INTERNAL_ERROR: unexpected server error.'
      security:
      - gatewayKey: []
      summary: Payment analytics summary
      tags:
      - Callbacks and reporting
      x-operation-id-source: normalized
      x-operation-id-original: get /api/analytics/summary
  /api/webhooks:
    get:
      description: Returns the latest callback attempts with event type, status, HTTP code, and target URL.
      operationId: get/api/webhooks
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    description: Callback delivery attempts.
                    items:
                      type: object
                    type: array
                  ok:
                    const: true
                    type: boolean
                required:
                - ok
                - data
                type: object
          description: Success.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: VALIDATION_ERROR or another request error.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: 'UNAUTHENTICATED: missing or invalid x-gateway-key.'
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: 'CONFLICT: the request conflicts with an existing record. SUBSCRIPTION_STATE_CHANGED: another request changed the subscription first; read it again and retry.'
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: 'INTERNAL_ERROR: unexpected server error.'
      security:
      - gatewayKey: []
      summary: Callback delivery history
      tags:
      - Callbacks and reporting
      x-operation-id-source: normalized
      x-operation-id-original: get /api/webhooks
  /api/webhooks/{deliveryId}/retry:
    post:
      description: Creates a fresh callback delivery attempt for payment.confirmed and stored subscription callback events. Retries and test callbacks share a limit of 10 per minute per merchant.
      operationId: post/api/webhooks/{deliveryId}/retry
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    description: The new callback delivery attempt.
                    type: object
                  ok:
                    const: true
                    type: boolean
                required:
                - ok
                - data
                type: object
          description: Success.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: VALIDATION_ERROR or another request error.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: 'UNAUTHENTICATED: missing or invalid x-gateway-key.'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: The resource does not exist for this merchant.
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: 'CONFLICT: the request conflicts with an existing record. SUBSCRIPTION_STATE_CHANGED: another request changed the subscription first; read it again and retry.'
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: 'WEBHOOK_RATE_LIMITED: retry later.'
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: 'INTERNAL_ERROR: unexpected server error.'
      security:
      - gatewayKey: []
      summary: Retry callback delivery
      tags:
      - Callbacks and reporting
      parameters:
      - in: path
        name: deliveryId
        required: true
        schema:
          type: string
      x-operation-id-source: normalized
      x-operation-id-original: post /api/webhooks/{deliveryId}/retry
components:
  schemas:
    ErrorEnvelope:
      properties:
        error:
          properties:
            code:
              type: string
            message:
              type: string
          required:
          - code
          - message
          type: object
        ok:
          const: false
          type: boolean
      required:
      - ok
      - error
      type: object
  securitySchemes:
    gatewayKey:
      description: The Gateway API key returned by POST /api/merchants/register.
      in: header
      name: x-gateway-key
      type: apiKey
externalDocs:
  description: Integration docs
  url: https://gate.solknife.xyz/docs