Shieldz Prices API

What a product costs: fixed, or a range the customer picks from. A price's amount never changes; add a new price instead.

GitHub OpenAPI

Operations 4

POST /prices Add a price to a product. Prices never change; archive and add a new one instead #
GET /prices List prices (newest first) #
GET /prices/{id} Retrieve a price #
POST /prices/{id} Archive or restore a price (its amount can't change) #

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-prices-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-prices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shieldz Prices 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: Prices
  description: 'What a product costs: fixed, or a range the customer picks from. A price''s amount never changes; add a new price instead.'
paths:
  /prices:
    post:
      operationId: createPrice
      tags:
      - Prices
      summary: Add a price to a product. Prices never change; archive and add a new one instead
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PriceCreate'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Price'
        '400':
          $ref: '#/components/responses/Error'
    get:
      operationId: listPrices
      tags:
      - Prices
      summary: List prices (newest first)
      parameters:
      - name: product
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    const: list
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Price'
  /prices/{id}:
    get:
      operationId: getPrice
      tags:
      - Prices
      summary: Retrieve a price
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Price'
        '404':
          $ref: '#/components/responses/Error'
    post:
      operationId: updatePrice
      tags:
      - Prices
      summary: Archive or restore a price (its amount can't change)
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - active
              properties:
                active:
                  type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Price'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
            code:
              type: string
            message:
              type: string
            param:
              type: string
    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
    PriceCreate:
      allOf:
      - $ref: '#/components/schemas/PriceData'
      required:
      - product
      properties:
        product:
          type: string
          description: The product (prod_…) to add the price to. A product's first price becomes its 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.'
    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.
  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_…'