SolKnife Get started API

The Get started API from SolKnife — 1 operation(s) for get started.

GitHub OpenAPI

Operations 1

POST /api/merchants/register Register business account #

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-get-started-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-get-started-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 Get started API
  version: 1.0.0
servers:
- url: https://gate.solknife.xyz
tags:
- name: Get started
paths:
  /api/merchants/register:
    post:
      description: Creates a business account and returns the Gateway API key and webhook secret. Both are shown only once. Limited to 5 registrations per hour per client IP.
      operationId: post/api/merchants/register
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: object
                    properties:
                      apiKey:
                        type: string
                        description: Gateway API key. Shown once; send it as x-gateway-key.
                      merchant:
                        type: object
                        properties:
                          callbackUrl:
                            type: string
                          createdAt:
                            type: string
                          displayName:
                            type: string
                          id:
                            type: string
                          ownerWallet:
                            type: string
                          telegramChatId:
                            type: string
                        required:
                        - callbackUrl
                        - createdAt
                        - displayName
                        - id
                        - ownerWallet
                        - telegramChatId
                      primaryToken:
                        type: object
                        properties:
                          createdAt:
                            type: string
                          id:
                            type: string
                          label:
                            type: string
                          merchantId:
                            type: string
                          mint:
                            type: string
                        required:
                        - createdAt
                        - id
                        - merchantId
                        - mint
                      webhookSecret:
                        type: string
                        description: HMAC-SHA256 secret for callback signatures. Shown once.
                    required:
                    - apiKey
                    - merchant
                    - primaryToken
                    - webhookSecret
                  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.
        '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: 'REGISTRATION_RATE_LIMITED: retry later.'
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: 'INTERNAL_ERROR: unexpected server error.'
      security: []
      summary: Register business account
      tags:
      - Get started
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                callbackUrl:
                  type: string
                  format: uri
                displayName:
                  type: string
                  minLength: 2
                  maxLength: 80
                indexTokenMint:
                  type: string
                ownerWallet:
                  type: string
                telegramChatId:
                  type: string
                  pattern: ^-?[0-9]{3,32}$
              required:
              - callbackUrl
              - displayName
              - indexTokenMint
              - ownerWallet
              - telegramChatId
        required: true
      x-operation-id-source: normalized
      x-operation-id-original: post /api/merchants/register
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