ProSide Golf Subscriptions API

The subscriptions API from ProSide Golf — 7 operation(s) for subscriptions.

GitHub OpenAPI

Operations 7

GET /api/v1/orgs/{org_id}/subscription Get Org Subscription #
POST /api/v1/orgs/{org_id}/subscribe Create Checkout Session #
GET /api/v1/orgs/{org_id}/subscription/flags Get Feature Flags #
GET /api/v1/orgs/{org_id}/subscription/upgrade-prompt Get Upgrade Prompt #
GET /api/v1/players/me/subscription Get Player Subscription #
GET /api/v1/promotions/{code}/validate Validate Promo Code #
GET /api/v1/players/me/referral-code Get My Referral Code #

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/proside-io:proside-io-subscriptions-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

proside-io-subscriptions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ProSide Golf Subscriptions API
  version: 3.0.0
tags:
- name: Subscriptions
paths:
  /api/v1/orgs/{org_id}/subscription:
    get:
      tags:
      - Subscriptions
      summary: Get Org Subscription
      operationId: get_org_subscription_api_v1_orgs__org_id__subscription_get
      security:
      - HTTPBearer: []
      parameters:
      - name: org_id
        in: path
        required: true
        schema:
          type: string
          title: Org Id
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TierResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/orgs/{org_id}/subscribe:
    post:
      tags:
      - Subscriptions
      summary: Create Checkout Session
      description: 'Create a Stripe Checkout Session for org subscription upgrade.


        Returns a Stripe Checkout URL. The frontend redirects to this URL.

        On success, Stripe calls the webhook which activates the subscription.'
      operationId: create_checkout_session_api_v1_orgs__org_id__subscribe_post
      security:
      - HTTPBearer: []
      parameters:
      - name: org_id
        in: path
        required: true
        schema:
          type: string
          title: Org Id
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/app__api__v1__routers__subscriptions__CheckoutRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/orgs/{org_id}/subscription/flags:
    get:
      tags:
      - Subscriptions
      summary: Get Feature Flags
      operationId: get_feature_flags_api_v1_orgs__org_id__subscription_flags_get
      security:
      - HTTPBearer: []
      parameters:
      - name: org_id
        in: path
        required: true
        schema:
          type: string
          title: Org Id
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeatureFlagsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/orgs/{org_id}/subscription/upgrade-prompt:
    get:
      tags:
      - Subscriptions
      summary: Get Upgrade Prompt
      operationId: get_upgrade_prompt_api_v1_orgs__org_id__subscription_upgrade_prompt_get
      security:
      - HTTPBearer: []
      parameters:
      - name: org_id
        in: path
        required: true
        schema:
          type: string
          title: Org Id
      - name: feature
        in: query
        required: true
        schema:
          type: string
          title: Feature
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/players/me/subscription:
    get:
      tags:
      - Subscriptions
      summary: Get Player Subscription
      operationId: get_player_subscription_api_v1_players_me_subscription_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlayerTierResponse'
      security:
      - HTTPBearer: []
  /api/v1/promotions/{code}/validate:
    get:
      tags:
      - Subscriptions
      summary: Validate Promo Code
      description: Validate a promotion code for a given tier. Public endpoint for checkout UI.
      operationId: validate_promo_code_api_v1_promotions__code__validate_get
      parameters:
      - name: code
        in: path
        required: true
        schema:
          type: string
          title: Code
      - name: tier_code
        in: query
        required: true
        schema:
          type: string
          title: Tier Code
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/players/me/referral-code:
    get:
      tags:
      - Subscriptions
      summary: Get My Referral Code
      description: Get or auto-create the current player's referral code.
      operationId: get_my_referral_code_api_v1_players_me_referral_code_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
components:
  schemas:
    FeatureFlagsResponse:
      properties:
        tier_code:
          type: string
          title: Tier Code
        flags:
          additionalProperties: true
          type: object
          title: Flags
      type: object
      required:
      - tier_code
      - flags
      title: FeatureFlagsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    app__api__v1__routers__subscriptions__CheckoutRequest:
      properties:
        tier_code:
          type: string
          title: Tier Code
        success_url:
          type: string
          title: Success Url
        cancel_url:
          type: string
          title: Cancel Url
        promo_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Promo Code
        referral_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Referral Code
      type: object
      required:
      - tier_code
      - success_url
      - cancel_url
      title: CheckoutRequest
    PlayerTierResponse:
      properties:
        tier_code:
          type: string
          title: Tier Code
        is_waived:
          type: boolean
          title: Is Waived
        waiver_org_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Waiver Org Name
      type: object
      required:
      - tier_code
      - is_waived
      title: PlayerTierResponse
    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
    TierResponse:
      properties:
        tier_code:
          type: string
          title: Tier Code
        display_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Display Name
        billing_model:
          anyOf:
          - type: string
          - type: 'null'
          title: Billing Model
        status:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
        stripe_subscription_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Stripe Subscription Id
        stripe_subscription_authority:
          anyOf:
          - type: string
          - type: 'null'
          title: Stripe Subscription Authority
      type: object
      required:
      - tier_code
      title: TierResponse
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer