Fusio Payment API

The payment API from Fusio — 2 operation(s) for payment.

Operations 2

POST /consumer/payment/{provider}/checkout Consumer payment checkout #
POST /consumer/payment/{provider}/portal Consumer payment portal #

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/fusio-payment-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fusio-payment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fusio Payment API
  description: Self-Hosted API Management for Builders.
  version: '1'
servers:
- url: https://demo.fusio-project.org
tags:
- name: Payment
paths:
  /consumer/payment/{provider}/checkout:
    parameters:
    - name: provider
      in: path
      required: true
      schema:
        type: string
    post:
      tags:
      - Payment
      description: Start the checkout process for a specific plan
      operationId: consumer.payment.checkout
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Consumer_PaymentCheckoutRequest'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Consumer_PaymentCheckoutResponse'
        4XX:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Common_Message'
        5XX:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Common_Message'
      security:
      - app:
        - consumer.payment
      summary: Consumer payment checkout
      x-summary-source: derived
  /consumer/payment/{provider}/portal:
    parameters:
    - name: provider
      in: path
      required: true
      schema:
        type: string
    post:
      tags:
      - Payment
      description: Generates a payment portal link for the authenticated user
      operationId: consumer.payment.portal
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Consumer_PaymentPortalRequest'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Consumer_PaymentPortalResponse'
        4XX:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Common_Message'
        5XX:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Common_Message'
      security:
      - app:
        - consumer.payment
      summary: Consumer payment portal
      x-summary-source: derived
components:
  schemas:
    Consumer_PaymentCheckoutResponse:
      type: object
      properties:
        approvalUrl:
          type: string
    Consumer_PaymentPortalResponse:
      type: object
      properties:
        redirectUrl:
          type: string
    Consumer_PaymentPortalRequest:
      type: object
      properties:
        returnUrl:
          type: string
    Consumer_PaymentCheckoutRequest:
      type: object
      properties:
        planId:
          type: integer
        returnUrl:
          type: string
    Common_Message:
      description: Common error message
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        id:
          type: string
  securitySchemes:
    app:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://demo.fusio-project.org/authorization/token
          refreshUrl: https://demo.fusio-project.org/authorization/token
          scopes:
            consumer: ''
            consumer.account: ''
            consumer.agent: ''
            consumer.app: ''
            consumer.event: ''
            consumer.form: ''
            consumer.grant: ''
            consumer.identity: ''
            consumer.log: ''
            consumer.page: ''
            consumer.payment: ''
            consumer.plan: ''
            consumer.scope: ''
            consumer.token: ''
            consumer.transaction: ''
            consumer.webhook: ''
        authorizationCode:
          authorizationUrl: https://demo.fusio-project.org/authorization/authorize
          tokenUrl: https://demo.fusio-project.org/authorization/token
          refreshUrl: https://demo.fusio-project.org/authorization/token
          scopes:
            consumer: ''
            consumer.account: ''
            consumer.agent: ''
            consumer.app: ''
            consumer.event: ''
            consumer.form: ''
            consumer.grant: ''
            consumer.identity: ''
            consumer.log: ''
            consumer.page: ''
            consumer.payment: ''
            consumer.plan: ''
            consumer.scope: ''
            consumer.token: ''
            consumer.transaction: ''
            consumer.webhook: ''