Stabledrop Authorization API

The Authorization API from Stabledrop — 1 operation(s) for authorization.

GitHub OpenAPI

Operations 1

POST /authorization The EIP-3009 authorization a payer signs, complete and ready for their wallet #

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/stabledrop-me:stabledrop-me-authorization-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

stabledrop-me-authorization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stabledrop Me Authorization API
  version: 0.1.0
  termsOfService: https://stabledrop.me/terms-of-service/
  description: 'Operations tagged Authorization across 2 of this provider''s published API definitions: openapi.json, stabledrop-me-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Authorization
paths:
  /authorization:
    post:
      summary: The EIP-3009 authorization a payer signs, complete and ready for their wallet
      description: 'The step between prepare and a relayed settle, for a payer holding a wallet.


        Signing needs the token''s own EIP-712 domain — its name() and version(), read off the chain

        — plus a validity window and a fresh nonce. Built here once, so a page or an agent hands the

        result to the wallet as it is instead of each assembling it and each able to get the domain

        wrong. Nothing here signs or moves anything: the payer''s wallet signs, and settle refuses

        the signature unless `to` is the address the terms derive to.'
      operationId: build_authorization_authorization_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthorizationBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationResponse'
        '400':
          description: The token cannot be paid by signature.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: No session, API access key or merchant API key; or one that is unknown, expired, revoked, or made for terms that have since changed. `detail.error` is `api_access_required`, `detail.reason` says which (`missing`, `invalid`, `terms_changed`, `terms_not_accepted`), `detail.access_url` is where to get a key, and `detail.docs_url` is this reference's section on sending one.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: chainservice could not be reached.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - Bearer: []
      - Session cookie: []
      tags:
      - Authorization
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AuthorizationResponse:
      properties:
        typed_data:
          additionalProperties: true
          type: object
          title: Typed Data
          description: 'EIP-712 typed data for eth_signTypedData_v4: domain, types, primaryType, message'
        authorization:
          additionalProperties: true
          type: object
          title: Authorization
          description: The signed struct as /settle takes it back — `typed_data.message`, verbatim
        payer_balance:
          type: integer
          title: Payer Balance
          description: The payer's balance of the token, in base units
        payer_can_cover:
          type: boolean
          title: Payer Can Cover
          description: Whether that balance covers `value`
      type: object
      required:
      - typed_data
      - authorization
      - payer_balance
      - payer_can_cover
      title: AuthorizationResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ErrorResponse:
      properties:
        detail:
          type: string
          title: Detail
          description: What was wrong, in terms a machine can branch on.
      type: object
      required:
      - detail
      title: ErrorResponse
    AuthorizationBody:
      properties:
        token_address:
          type: string
          title: Token Address
          description: The token being paid, from the payment contract's terms
        payer:
          type: string
          title: Payer
          description: The wallet that will sign, and whose tokens move
        to:
          type: string
          title: To
          description: The payment address the terms derive to
        value:
          type: integer
          exclusiveMinimum: 0
          title: Value
          description: 'Token base units: the payment contract''s amount, exactly'
        valid_for_seconds:
          type: integer
          maximum: 86400
          minimum: 60
          title: Valid For Seconds
          description: How long the signature stays usable
          default: 3600
      type: object
      required:
      - token_address
      - payer
      - to
      - value
      title: AuthorizationBody
      description: 'A transfer a payer is about to authorise: from their wallet to an payment address.'
  securitySchemes:
    Bearer:
      type: http
      description: An API access key (`sd_access_…`, from the site's /myAPIAccessCode page), a merchant API key (`sd_live_…`, created on the site under API keys), or a signed-in user's session token.
      scheme: bearer
    Session_cookie:
      type: apiKey
      description: A signed-in user's session, as the site's browser sends it.
      in: cookie
      name: AUTH-TOKEN
x-refined-from:
- openapi.json
- stabledrop-me-openapi.json