Shieldz Products API

What you sell: a name, description and image, with a default price.

GitHub OpenAPI

Operations 4

POST /products Create a product, optionally with its price (default_price_data) #
GET /products List products (up to 500, active first, newest first) #
GET /products/{id} Retrieve a product #
POST /products/{id} Update a product. #

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/shieldz-cash:shieldz-cash-products-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

shieldz-cash-products-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shieldz Products API
  version: 1.0.0
  description: 'Non-custodial crypto payments. Create invoices, send buyers to a hosted checkout, and reconcile via signed webhooks. Funds settle straight to the merchant''s own wallet, Shieldz only ever holds a public key. Sell from a catalog like Stripe: products with immutable prices, payment links (/l/{id}) and a buy button, so a buyer''s browser never sets the price.'
  contact:
    name: Shieldz
    url: https://shieldz.cash
    email: support@shieldz.cash
  license:
    name: Proprietary
servers:
- url: https://shieldz.cash/api/v1
security:
- bearerAuth: []
tags:
- name: Products
  description: 'What you sell: a name, description and image, with a default price.'
paths:
  /products:
    post:
      operationId: createProduct
      tags:
      - Products
      summary: Create a product, optionally with its price (default_price_data)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductCreate'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
        '400':
          $ref: '#/components/responses/Error'
    get:
      operationId: listProducts
      tags:
      - Products
      summary: List products (up to 500, active first, newest first)
      parameters:
      - name: active
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    const: list
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Product'
  /products/{id}:
    get:
      operationId: getProduct
      tags:
      - Products
      summary: Retrieve a product
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
        '404':
          $ref: '#/components/responses/Error'
    post:
      operationId: updateProduct
      tags:
      - Products
      summary: Update a product.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductUpdate'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
        '400':
          $ref: '#/components/responses/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
            code:
              type: string
            message:
              type: string
            param:
              type: string
    Product:
      type: object
      properties:
        id:
          type: string
          example: prod_3hQ8ZpW2Nc6Ty0Lk
        object:
          const: product
        name:
          type: string
          description: Shown to the buyer on the payment link page and on invoices.
        description:
          type:
          - string
          - 'null'
          description: Shown under the name on the payment link page.
        image_url:
          type:
          - string
          - 'null'
          format: uri
          description: Product image. Images uploaded in the dashboard are served from this host.
        active:
          type: boolean
          description: false once archived. Links selling an archived product show as unavailable.
        default_price:
          oneOf:
          - $ref: '#/components/schemas/Price'
          - type: 'null'
          description: The price used when a link or cart names the product rather than a price.
        created_at:
          type: integer
          description: Unix milliseconds.
        updated_at:
          type: integer
          description: Unix milliseconds.
    PriceData:
      type: object
      description: Send exactly one of unit_amount_usd_cents (a fixed price) or custom_unit_amount (the customer chooses, e.g. tips or donations).
      properties:
        unit_amount_usd_cents:
          type: integer
          minimum: 0
          maximum: 10000000
          description: 'Fixed price per unit in USD cents: 4999 is $49.99. A checkout''s total must come to $1 or more.'
          example: 4999
        custom_unit_amount:
          type: object
          description: The customer types an amount between minimum and maximum. A link line with this price has a fixed quantity of 1.
          properties:
            minimum_usd_cents:
              type: integer
              minimum: 100
              default: 100
              description: Lowest amount the customer may enter, in cents (at least $1).
            maximum_usd_cents:
              type: integer
              maximum: 10000000
              default: 10000000
              description: Highest amount, in cents (at most $100,000).
            preset_usd_cents:
              type: integer
              description: Amount pre-filled on the page. Must sit between minimum and maximum.
          example:
            minimum_usd_cents: 300
            maximum_usd_cents: 50000
            preset_usd_cents: 1000
    ProductUpdate:
      type: object
      description: Send only the fields you change.
      properties:
        name:
          type: string
          maxLength: 250
        description:
          type:
          - string
          - 'null'
          description: null clears it.
        image_url:
          type:
          - string
          - 'null'
          description: A public https URL; null removes the image.
        active:
          type: boolean
          description: false archives the product (its links stop selling it); true restores it.
        default_price:
          type: string
          description: Make another active price (price_…) of this product the default.
        default_price_data:
          $ref: '#/components/schemas/PriceData'
          description: Change the price. Prices never change, so this adds a new price, archives the old one and moves this shop's payment links to the new price. Link URLs stay the same.
      example:
        default_price_data:
          unit_amount_usd_cents: 3999
    Price:
      type: object
      properties:
        id:
          type: string
          example: price_9fK2LmQx7Rt4Vb1N
        object:
          const: price
        product:
          type: string
          description: The product (prod_…) this price belongs to.
        active:
          type: boolean
          description: false once archived. An archived price can't be added to new carts or links.
        unit_amount_usd_cents:
          type:
          - integer
          - 'null'
          description: Fixed price per unit in USD cents; null when the customer chooses the amount.
        custom_unit_amount:
          type:
          - object
          - 'null'
          description: The range the customer chooses from; null for a fixed price.
          properties:
            minimum_usd_cents:
              type:
              - integer
              - 'null'
            maximum_usd_cents:
              type:
              - integer
              - 'null'
            preset_usd_cents:
              type:
              - integer
              - 'null'
        created_at:
          type: integer
          description: Unix milliseconds.
    ProductCreate:
      type: object
      required:
      - name
      properties:
        name:
          type: string
          maxLength: 250
          description: What the buyer sees, e.g. "Blue hoodie".
        description:
          type: string
          maxLength: 2000
          description: Optional, shown under the name.
        image_url:
          type: string
          format: uri
          description: A public https image URL. To upload a file instead, use the dashboard (Products → image).
        default_price_data:
          $ref: '#/components/schemas/PriceData'
          description: Create the product's price in the same call. It becomes default_price.
        idempotency_key:
          type: string
          maxLength: 256
          description: 'Retrying with the same key returns the first object (200, idempotent_replay: true) instead of creating another. The SDKs add one for you.'
      example:
        name: Blue hoodie
        description: Heavyweight cotton, unisex.
        image_url: https://yourstore.com/img/hoodie.jpg
        default_price_data:
          unit_amount_usd_cents: 4999
  responses:
    Error:
      description: Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key: sk_live_… or sk_test_…'