Scanpay API

Scanpay API as documented publicly: 4 operations. Contract generated from the documentation by API Evangelist (2026-11-23); not the provider's own document.

GitHub OpenAPI

Operations 4

POST /v1/new Create payment link #
POST /v1/subscribers/{subscriberId}/charge Charge subscriber #
POST /v1/subscribers/{subscriberId}/renew Renew subscriber #
POST /v1/transactions/32916:9203/capture Capture API #

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/scanpay:scanpay-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

scanpay-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Scanpay API
  version: '2026-11-23'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-23: 4 operation(s) read from 3 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Scanpay has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 0
    documentation: 4
    pages-with-code: 0
    pages-read: 3
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-23'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.scanpay.dev/payment-link
  - https://docs.scanpay.dev/transactions
  - https://docs.scanpay.dev/subscriptions
servers:
- url: https://api.scanpay.dk
paths:
  /v1/new:
    post:
      operationId: post_v1_new
      tags:
      - New
      summary: Create payment link
      x-source: https://docs.scanpay.dev/payment-link
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Basic base64_encode ( "apikey" ) HTTP basic authentication with your API key as credentials, which you will need to base64
          encode.
      - name: X-Cardholder-IP
        in: header
        required: false
        schema:
          type: string
        description: Customer IPv4 or IPv6 address. It is used for DoS protection, and it is optional but recommended.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1NewRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1NewResponse'
      x-evidence:
        kind: documentation
  /v1/subscribers/{subscriberId}/charge:
    post:
      operationId: post_v1_subscribers_subscriberId_charge
      tags:
      - Subscribers
      summary: Charge subscriber
      description: The charge subscriber API call will charge the specified subscriber.
      x-source: https://docs.scanpay.dev/subscriptions
      parameters:
      - name: subscriberId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1SubscribersSubscriberidChargeRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/subscribers/{subscriberId}/renew:
    post:
      operationId: post_v1_subscribers_subscriberId_renew
      tags:
      - Subscribers
      summary: Renew subscriber
      description: The renew subscriber API call will return a link to a payment page, where the customer can update their payment details.
      x-source: https://docs.scanpay.dev/subscriptions
      parameters:
      - name: subscriberId
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/transactions/32916:9203/capture:
    post:
      operationId: post_v1_transactions_32916_9203_capture
      tags:
      - Transactions
      summary: Capture API
      description: POST https://api.scanpay.dk/v1/transactions/32916:9203/capture
      x-source: https://docs.scanpay.dev/transactions
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Basic authentication, where your credentials (shopid:secret) are in the API key, so you only have to base64 encode the API
          key.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1Transactions329169203CaptureRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    PostV1NewRequest:
      type: object
      properties:
        items:
          type: array
          description: An array with one or more items. Each item needs a total, but all other fields are optional.
        items[].name:
          type: string
          description: The name of the item or service.
        items[].quantity:
          type: integer
          description: The number of items.
        items[].total:
          type: string
          description: Line total, i.e. unit-price times quantity, with an ISO 4217 currency code.
        items[].sku:
          type: string
          description: A SKU for this particular item.
        billing:
          type: object
          description: Customer billing address.
        billing.name:
          type: string
        billing.company:
          type: string
        billing.vatin:
          type: string
        billing.gln:
          type: string
        billing.email:
          type: string
        billing.phone:
          type: string
        billing.address:
          type: array
          description: An address array where each element is a new line.
        billing.city:
          type: string
        billing.zip:
          type: string
        billing.state:
          type: string
        billing.country:
          type: string
        shipping:
          type: object
          description: Customer shipping address.
        shipping.name:
          type: string
        shipping.company:
          type: string
        shipping.email:
          type: string
        shipping.phone:
          type: string
        shipping.address:
          type: array
          description: An address array where each element is a new line.
        shipping.city:
          type: string
        shipping.zip:
          type: string
        shipping.state:
          type: string
        shipping.country:
          type: string
        orderid:
          type: string
          description: An order identifier that identifies the order in your system.
        successurl:
          type: string
          description: The success URL is where we send the customer after successful payment.
        language:
          type: string
          description: The desired payment window language in ISO 639-1.
        autocapture:
          type: boolean
          description: Automatically capture the payment.
        lifetime:
          type: string
          description: Payment link lifetime in days ("d"), hours ("h") or minutes ("m").
      required:
      - items
      - items[].total
    PostV1NewResponse:
      type: object
      properties:
        url:
          type: string
          description: The payment link URL.
    PostV1SubscribersSubscriberidChargeRequest:
      type: object
      properties:
        items:
          type: array
          description: Array of items to charge.
      required:
      - items
    PostV1Transactions329169203CaptureRequest:
      type: object
      properties:
        total:
          type: string
          description: 199.95 DKK
        index:
          type: integer
          description: The sequence number for the last change in the changes array.
      required:
      - total
      - index
tags:
- name: New
- name: Subscribers
- name: Transactions