Space Invoices Payment API

The Payment API from Space Invoices — 2 operation(s) for payment.

GitHub OpenAPI

Operations 4

GET /v1/Payments/{id} Find a model instance by {{id}} from the data source #
PUT /v1/Payments/{id} Replace attributes for a model instance and persist it into the data source #
DELETE /v1/Payments/{id} Delete a model instance by {{id}} from the data source #
POST /v1/Payments/{id}/replace Replace attributes for a model instance and persist it into the data source #

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/spaceinvoices-com:spaceinvoices-com-payment-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

spaceinvoices-com-payment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: space-invoices-api Payment API
  version: 2.0.0
  description: ''
  contact:
    name: Space Invoices Inc
servers:
- url: https://api.spaceinvoices.com
security:
- accessTokenHeader: []
  accessTokenQuery: []
tags:
- name: Payment
paths:
  /v1/Payments/{id}:
    get:
      tags:
      - Payment
      summary: Find a model instance by {{id}} from the data source
      operationId: Payment.findById
      parameters:
      - name: id
        in: path
        description: Model id
        required: true
        schema:
          type: string
          format: JSON
      - name: filter
        in: query
        description: Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
        required: false
        schema:
          type: string
          format: JSON
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Payment'
            application/xml:
              schema:
                $ref: '#/components/schemas/Payment'
            text/xml:
              schema:
                $ref: '#/components/schemas/Payment'
            application/javascript:
              schema:
                $ref: '#/components/schemas/Payment'
            text/javascript:
              schema:
                $ref: '#/components/schemas/Payment'
      deprecated: false
    put:
      tags:
      - Payment
      summary: Replace attributes for a model instance and persist it into the data source
      operationId: Payment.replaceById__put_Payments_{id}
      parameters:
      - name: id
        in: path
        description: Model id
        required: true
        schema:
          type: string
          format: JSON
      requestBody:
        $ref: '#/components/requestBodies/Payment'
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Payment'
            application/xml:
              schema:
                $ref: '#/components/schemas/Payment'
            text/xml:
              schema:
                $ref: '#/components/schemas/Payment'
            application/javascript:
              schema:
                $ref: '#/components/schemas/Payment'
            text/javascript:
              schema:
                $ref: '#/components/schemas/Payment'
      deprecated: false
    delete:
      tags:
      - Payment
      summary: Delete a model instance by {{id}} from the data source
      operationId: Payment.deleteById
      parameters:
      - name: id
        in: path
        description: Model id
        required: true
        schema:
          type: string
          format: JSON
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                type: object
            application/xml:
              schema:
                type: object
            text/xml:
              schema:
                type: object
            application/javascript:
              schema:
                type: object
            text/javascript:
              schema:
                type: object
      deprecated: false
  /v1/Payments/{id}/replace:
    post:
      tags:
      - Payment
      summary: Replace attributes for a model instance and persist it into the data source
      operationId: Payment.replaceById__post_Payments_{id}_replace
      parameters:
      - name: id
        in: path
        description: Model id
        required: true
        schema:
          type: string
          format: JSON
      requestBody:
        $ref: '#/components/requestBodies/Payment'
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Payment'
            application/xml:
              schema:
                $ref: '#/components/schemas/Payment'
            text/xml:
              schema:
                $ref: '#/components/schemas/Payment'
            application/javascript:
              schema:
                $ref: '#/components/schemas/Payment'
            text/javascript:
              schema:
                $ref: '#/components/schemas/Payment'
      deprecated: false
components:
  schemas:
    ObjectID:
      type: string
      pattern: ^[a-fA-F\d]{24}$
    Payment:
      properties:
        amount:
          type: number
          format: double
        type:
          type: string
        tag:
          description: Payment tag for sub categorization
          type: string
        date:
          type: string
          format: date-time
        note:
          type: string
        transactionId:
          description: Transaction id from payment gateway
          type: string
        id:
          $ref: '#/components/schemas/ObjectID'
        documentId:
          $ref: '#/components/schemas/ObjectID'
        organizationId:
          $ref: '#/components/schemas/ObjectID'
        deletedAt:
          type: string
          format: date-time
        _isDeleted:
          default: false
          type: boolean
        deletedId:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        custom:
          default: {}
          description: Custom field for freeform data input
          type: object
      required:
      - amount
      - type
      - date
      additionalProperties: false
  requestBodies:
    Payment:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Payment'
        application/x-www-form-urlencoded:
          schema:
            $ref: '#/components/schemas/Payment'
        application/xml:
          schema:
            $ref: '#/components/schemas/Payment'
        text/xml:
          schema:
            $ref: '#/components/schemas/Payment'
      description: Model instance data
  securitySchemes:
    accessTokenHeader:
      type: apiKey
      in: header
      name: Authorization
    accessTokenQuery:
      type: apiKey
      in: query
      name: access_token