ReqArchitect Billing API

The billing API from ReqArchitect — 6 operation(s) for billing.

Business capability
Subscription Billing & Revenue Management BC-4250

Operations 6

GET /api/billing/marketplace/pricing Return current marketplace prices and early-supporter deadline #
GET /api/billing/marketplace/session/{session_id} Verify a completed Stripe Checkout session and return codegen job info #
POST /api/billing/marketplace/checkout Create one-time Stripe Checkout session for a marketplace template purchase #
POST /api/billing/checkout Create/invoke checkout #
POST /api/billing/portal Create/invoke portal #
POST /api/billing/webhook Create/invoke webhook #

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/archiet:archiet-billing-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

archiet-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Archiet — AI-Native Architecture-to-Code SaaS Platform…
  version: 1.0.0
tags:
- name: Billing
paths:
  /api/billing/marketplace/pricing:
    get:
      operationId: get_billing_marketplace_pricing
      summary: Return current marketplace prices and early-supporter deadline
      tags:
      - Billing
      responses:
        '200':
          description: Current prices and deadline
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      is_early_supporter:
                        type: boolean
                      deadline_utc:
                        type: string
                      prices:
                        type: object
                      early_prices:
                        type: object
                      value_prices:
                        type: object
  /api/billing/marketplace/session/{session_id}:
    get:
      operationId: get_billing_marketplace_session
      summary: Verify a completed Stripe Checkout session and return codegen job info
      tags:
      - Billing
      security:
      - cookieAuth: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Session status and codegen job
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      payment_status:
                        type: string
                      status:
                        type: string
                      codegen_job_id:
                        type: string
                        nullable: true
                      blueprint_title:
                        type: string
        '400':
          description: Invalid session
        '401':
          description: Unauthorized
        '403':
          description: Session does not belong to this workspace
  /api/billing/marketplace/checkout:
    post:
      operationId: post_billing_marketplace_checkout
      summary: Create one-time Stripe Checkout session for a marketplace template purchase
      tags:
      - Billing
      security:
      - cookieAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - template_id
              properties:
                template_id:
                  type: integer
                tier:
                  type: string
                  enum:
                  - single
                  - bundle
                  - all_access
                  - agency
      responses:
        '200':
          description: Checkout URL returned
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      checkout_url:
                        type: string
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '500':
          description: Stripe error
  /api/billing/checkout:
    post:
      operationId: post_billing_checkout
      summary: Create/invoke checkout
      tags:
      - Billing
      responses:
        '200':
          description: OK
        '201':
          description: Created
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - cookieAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
  /api/billing/portal:
    post:
      operationId: post_billing_portal
      summary: Create/invoke portal
      tags:
      - Billing
      responses:
        '200':
          description: OK
        '201':
          description: Created
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - cookieAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
  /api/billing/webhook:
    post:
      operationId: post_billing_webhook
      summary: Create/invoke webhook
      tags:
      - Billing
      responses:
        '200':
          description: OK
        '201':
          description: Created
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      requestBody:
        content:
          application/json:
            schema:
              type: object
components:
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: access_token_cookie
      description: JWT access token stored in httpOnly cookie