ProSide Golf Billing API
The billing API from ProSide Golf — 5 operation(s) for billing.
The billing API from ProSide Golf — 5 operation(s) for billing.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/proside-io:proside-io-billing-api"
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.
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: 3.2.0
info:
title: ProSide Golf Billing API
version: 3.0.0
tags:
- name: Billing
paths:
/api/v1/billing/orgs/{org_id}/tier:
get:
tags:
- Billing
summary: Get Org Tier
description: 'Return the current subscription tier and feature summary for an org.
Accessible to any authenticated user with access to the org, and to superadmins.'
operationId: get_org_tier_api_v1_billing_orgs__org_id__tier_get
security:
- HTTPBearer: []
parameters:
- name: org_id
in: path
required: true
schema:
type: string
title: Org Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TierSummaryResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
patch:
tags:
- Billing
summary: Set Org Tier
description: Direct clients to the reviewed complimentary organization grant.
operationId: set_org_tier_api_v1_billing_orgs__org_id__tier_patch
security:
- HTTPBearer: []
parameters:
- name: org_id
in: path
required: true
schema:
type: string
title: Org Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SetTierRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TierSummaryResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/billing/tiers:
get:
tags:
- Billing
summary: List Tiers
description: 'Return subscription tiers with their feature flag definitions.
Public endpoint — no auth required. Used by the pricing page and upgrade prompts.
When org_id is provided, returns the tiers available for that org''s type
(org-type-aware matrix). When omitted, returns the generic tier list.'
operationId: list_tiers_api_v1_billing_tiers_get
parameters:
- name: org_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: When provided, returns org-type-specific tiers for that org.
title: Org Id
description: When provided, returns org-type-specific tiers for that org.
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/TierListItem'
title: Response List Tiers Api V1 Billing Tiers Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/billing/orgs/{org_id}/checkout:
post:
tags:
- Billing
summary: Create Checkout Session
description: 'Create a Stripe Checkout Session for upgrading to a paid tier.
Returns a checkout_url that should be opened in the browser.'
operationId: create_checkout_session_api_v1_billing_orgs__org_id__checkout_post
security:
- HTTPBearer: []
parameters:
- name: org_id
in: path
required: true
schema:
type: string
title: Org Id
- name: X-Org-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Org-Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/app__api__v1__routers__billing__CheckoutRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/billing/orgs/{org_id}/portal:
post:
tags:
- Billing
summary: Create Portal Session
description: 'Create a Stripe Customer Portal session for managing an existing subscription.
Returns a portal_url that should be opened in the browser.'
operationId: create_portal_session_api_v1_billing_orgs__org_id__portal_post
security:
- HTTPBearer: []
parameters:
- name: org_id
in: path
required: true
schema:
type: string
title: Org Id
- name: X-Org-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Org-Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PortalRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/billing/orgs/{org_id}/subscription:
get:
tags:
- Billing
summary: Get Org Subscription
description: 'Return the current Stripe billing status for an org.
Returns tier_code, subscription_status, period end, and cancellation state.'
operationId: get_org_subscription_api_v1_billing_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: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Org-Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/SubscriptionStatusResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
app__api__v1__routers__billing__CheckoutRequest:
properties:
tier_code:
type: string
title: Tier Code
success_url:
type: string
title: Success Url
cancel_url:
type: string
title: Cancel Url
type: object
required:
- tier_code
- success_url
- cancel_url
title: CheckoutRequest
TierListItem:
properties:
tier_code:
type: string
title: Tier Code
display_name:
type: string
title: Display Name
features:
additionalProperties: true
type: object
title: Features
org_type_group:
anyOf:
- type: string
- type: 'null'
title: Org Type Group
annual_price_cents:
anyOf:
- type: integer
- type: 'null'
title: Annual Price Cents
is_per_event:
type: boolean
title: Is Per Event
default: false
type: object
required:
- tier_code
- display_name
- features
title: TierListItem
SetTierRequest:
properties:
tier_code:
type: string
title: Tier Code
type: object
required:
- tier_code
title: SetTierRequest
SubscriptionStatusResponse:
properties:
tier_code:
type: string
title: Tier Code
stripe_subscription_id:
anyOf:
- type: string
- type: 'null'
title: Stripe Subscription Id
subscription_status:
type: string
title: Subscription Status
current_period_end:
anyOf:
- type: string
- type: 'null'
title: Current Period End
cancel_at_period_end:
type: boolean
title: Cancel At Period End
stripe_subscription_authority:
anyOf:
- type: string
- type: 'null'
title: Stripe Subscription Authority
type: object
required:
- tier_code
- stripe_subscription_id
- subscription_status
- current_period_end
- cancel_at_period_end
- stripe_subscription_authority
title: SubscriptionStatusResponse
PortalRequest:
properties:
return_url:
type: string
title: Return Url
type: object
required:
- return_url
title: PortalRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
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
TierSummaryResponse:
properties:
org_id:
type: string
title: Org Id
tier_code:
type: string
title: Tier Code
display_name:
type: string
title: Display Name
features:
additionalProperties: true
type: object
title: Features
type: object
required:
- org_id
- tier_code
- display_name
- features
title: TierSummaryResponse
securitySchemes:
HTTPBearer:
type: http
scheme: bearer