Find your role first Billing API

The Billing API from Find your role first — 6 operation(s) for billing.

GitHub OpenAPI

Operations 6

POST /billing/checkout Checkout #
POST /billing/claim Claim #
POST /billing/pack Buy Pack #
POST /billing/pack/claim Claim Pack #
POST /billing/portal Portal #
POST /billing/webhook 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/findyourrolefirst-click:findyourrolefirst-click-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

findyourrolefirst-click-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Find your role first Billing API
  version: 0.2.0
tags:
- name: Billing
paths:
  /billing/checkout:
    post:
      summary: Checkout
      operationId: checkout_billing_checkout_post
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/CheckoutConsent'
              - type: 'null'
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Billing
  /billing/claim:
    post:
      summary: Claim
      operationId: claim_billing_claim_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClaimInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Billing
  /billing/pack:
    post:
      summary: Buy Pack
      description: Checkout for 3,000 more roles at $2, once. Subscribers only; the pack lasts until used.
      operationId: buy_pack_billing_pack_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Billing
  /billing/pack/claim:
    post:
      summary: Claim Pack
      description: 'Back from a pack checkout: credit it now if the webhook hasn''t yet.'
      operationId: claim_pack_billing_pack_claim_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Billing
  /billing/portal:
    post:
      summary: Portal
      operationId: portal_billing_portal_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Billing
  /billing/webhook:
    post:
      summary: Webhook
      operationId: webhook_billing_webhook_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Billing
components:
  schemas:
    ClaimInput:
      properties:
        session_id:
          type: string
          maxLength: 200
          minLength: 4
          pattern: ^(cs_[A-Za-z0-9_]+|dodo)$
          title: Session Id
      additionalProperties: false
      type: object
      required:
      - session_id
      title: ClaimInput
    CheckoutConsent:
      properties:
        accepted:
          type: boolean
          title: Accepted
        terms_version:
          type: string
          maxLength: 30
          minLength: 1
          title: Terms Version
        code:
          anyOf:
          - type: string
            maxLength: 40
            minLength: 3
            pattern: ^[A-Za-z0-9_-]+$
          - type: 'null'
          title: Code
      additionalProperties: false
      type: object
      required:
      - accepted
      - terms_version
      title: CheckoutConsent
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError