tenderapi-fr Billing API

Subscription and billing. **Available on all tiers**.

Operations 3

POST /billing/start Start Checkout #
POST /billing/checkout Create Checkout #
POST /billing/portal Customer 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/tenderapi-fr:tenderapi-fr-billing-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

tenderapi-fr-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tender Billing API
  description: Unified French (BOAMP) + EU (TED) public procurement intelligence API. Search tenders, track award outcomes, discover winner patterns.
  version: 1.0.0
tags:
- name: Billing
  description: Subscription and billing. **Available on all tiers**.
paths:
  /billing/start:
    post:
      tags:
      - Billing
      summary: Start Checkout
      description: Open a Stripe Checkout session. Key is created + emailed only after payment confirmation.
      operationId: start_checkout_billing_start_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /billing/checkout:
    post:
      tags:
      - Billing
      summary: Create Checkout
      description: Create a Stripe Checkout Session for a tier upgrade.
      operationId: create_checkout_billing_checkout_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckoutRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
  /billing/portal:
    post:
      tags:
      - Billing
      summary: Customer Portal
      description: Return a Stripe Customer Portal URL for subscription management.
      operationId: customer_portal_billing_portal_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: return_url
        in: query
        required: false
        schema:
          type: string
          default: https://tenderapi.fr/dashboard
          title: Return Url
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PortalOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PortalOut:
      properties:
        portal_url:
          type: string
          title: Portal Url
      type: object
      required:
      - portal_url
      title: PortalOut
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    CheckoutOut:
      properties:
        checkout_url:
          type: string
          title: Checkout Url
        session_id:
          type: string
          title: Session Id
      type: object
      required:
      - checkout_url
      - session_id
      title: CheckoutOut
    CheckoutRequest:
      properties:
        tier:
          type: string
          title: Tier
        success_url:
          type: string
          title: Success Url
          default: https://tenderapi.fr/dashboard?upgraded=1
        cancel_url:
          type: string
          title: Cancel Url
          default: https://tenderapi.fr/pricing
      type: object
      required:
      - tier
      title: CheckoutRequest
    StartRequest:
      properties:
        email:
          type: string
          title: Email
        tier:
          type: string
          title: Tier
      type: object
      required:
      - email
      - tier
      title: StartRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key