Oh Fax Checkout API

The Checkout API from Oh Fax — 2 operation(s) for checkout.

GitHub OpenAPI

Operations 2

POST /checkout/session Create a hosted card checkout for a quote #
GET /checkout/{quoteId} Browser card checkout #

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/ohfax-com:ohfax-com-checkout-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

ohfax-com-checkout-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Oh Fax Checkout API
  version: 0.2.0
  description: Outbound fax to US and Canada numbers. Faxes are sent over Telnyx's carrier-grade network; payments are processed by Stripe.
servers:
- url: https://app.ohfax.com
tags:
- name: Checkout
paths:
  /checkout/session:
    post:
      summary: Create a hosted card checkout for a quote
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                quote_id:
                  type: string
                email:
                  type: string
                  format: email
              required:
              - quote_id
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  fax_id:
                    type: string
                  checkout_url:
                    type: string
                  amount:
                    type: string
                required:
                - fax_id
                - checkout_url
                - amount
        '400':
          description: Request failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                    - code
                required:
                - error
        '503':
          description: Request failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                    - code
                required:
                - error
      tags:
      - Checkout
      operationId: postCheckoutSession
      x-operation-id-source: derived
  /checkout/{quoteId}:
    get:
      summary: Browser card checkout
      security: []
      parameters:
      - name: quoteId
        in: path
        required: true
        schema:
          type: string
      responses:
        '302':
          description: Redirect to hosted checkout
          headers:
            Location:
              schema:
                type: string
        '400':
          description: Invalid quote
          content:
            text/plain:
              schema:
                type: string
        '503':
          description: Payments unavailable
          content:
            text/plain:
              schema:
                type: string
      tags:
      - Checkout
      operationId: getCheckoutByQuoteId
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerApiKey:
      type: http
      scheme: bearer
      description: Oh Fax prepaid API key
    sessionCookie:
      type: apiKey
      in: cookie
      name: afx_session
      description: Google-login session issued by /auth/google/callback
    resendCookie:
      type: apiKey
      in: cookie
      name: ofx_resend
      description: Per-fax resend secret, set when the payer lands on the Checkout success page
x-service-info:
  docs:
    homepage: https://ohfax.com
    apiReference: https://ohfax.com/docs/api
    llms: https://ohfax.com/llms.txt