Structify transactions API

The transactions API from Structify — 3 operation(s) for transactions.

Operations 3

POST /user/transactions/stripe/create_portal_session #
POST /user/transactions/stripe/create_session #
POST /user/transactions/stripe/create_subscription #

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/structify-transactions-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 email required.

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

OpenAPI Specification

structify-transactions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: team@structify.ai
    name: Structify Team
  description: Every enterprise's data team.
  license:
    name: Discuss directly with founders for license.
    url: https://structify.ai
  title: Structify account Transactions API
  version: 0.1.0
servers:
- description: Production server
  url: https://api.structify.ai
- description: Local server
  url: http://localhost:8080
security:
- api_key: []
- session_token: []
tags:
- name: transactions
paths:
  /user/transactions/stripe/create_portal_session:
    post:
      operationId: create_stripe_portal_session
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePortalRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateSessionResponse'
          description: ''
      security:
      - api_key: []
      - session_token: []
      tags:
      - transactions
  /user/transactions/stripe/create_session:
    post:
      operationId: create_stripe_session
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSessionRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateSessionResponse'
          description: ''
      security:
      - api_key: []
      - session_token: []
      tags:
      - transactions
  /user/transactions/stripe/create_subscription:
    post:
      operationId: create_stripe_subscription
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSubscriptionRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateSessionResponse'
          description: ''
      security:
      - api_key: []
      - session_token: []
      tags:
      - transactions
components:
  schemas:
    CreatePortalRequest:
      properties:
        return_url:
          type: string
        team_id:
          $ref: '#/components/schemas/TeamId'
      required:
      - return_url
      - team_id
      type: object
    CreateSessionRequest:
      properties:
        credits:
          description: Amount in cents (i64)
          format: int64
          type: integer
        origin:
          type: string
        team_id:
          $ref: '#/components/schemas/TeamId'
      required:
      - credits
      - origin
      - team_id
      type: object
    CreateSessionResponse:
      properties:
        url:
          type: string
      required:
      - url
      type: object
    TeamId:
      format: uuid
      type: string
    CreateSubscriptionRequest:
      properties:
        origin:
          type: string
        plan:
          $ref: '#/components/schemas/SubscriptionPlan'
        team_id:
          $ref: '#/components/schemas/TeamId'
      required:
      - origin
      - plan
      - team_id
      type: object
    SubscriptionPlan:
      enum:
      - Pro
      - Team
      type: string
  securitySchemes:
    api_key:
      in: header
      name: api_key
      type: apiKey
    session_token:
      scheme: bearer
      type: http