Gameball Billing API

The Billing API from Gameball — 10 operation(s) for billing.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Subscription Billing & Revenue Management BC-4250

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/Billing/PaymentMethods List payment methods on the account · Get api billing payment methods #
Ask an LLM
“Which payment methods are saved on my account?”
“What cards or wallets can I pay with?”
Tell an agent
List my account's payment methods.
Show every saved payment method on the account.
GET /api/v1/Billing/DefaultPayment Get the default payment method · Get api billing default payment #
Ask an LLM
“Which payment method is charged by default?”
“Can I check what my default payment method is?”
Tell an agent
Show my account's default payment method.
Get the default payment method on the account.
GET /api/v1/Billing/attachCoupon Attach a coupon to the account · Get api billing attach coupon #
Ask an LLM
“How do I apply a promo code to my account?”
“Can I attach a coupon to my account?”
Tell an agent
Attach coupon {promo} to my account.
Apply promo code {promo} to the account.
PUT /api/v1/Billing/deattachCoupon Remove the coupon from the account · Replace api billing deattach coupon #
Ask an LLM
“How do I remove a coupon from my account?”
“Can I detach the promo code I attached?”
Tell an agent destructive · confirm first
Detach the coupon from my account.
Remove the promo code from the account.
GET /api/v1/Billing/customerInvoices List a customer's invoices · Get all invoices for a customer #
Ask an LLM
“What invoices have been issued to a customer?”
“Can I see the billing history for a customer?”
Tell an agent
List all invoices for the customer.
Show every invoice issued to the customer.
DELETE /api/v1/Billing/deletePayment Delete a saved payment method · Delete api billing delete payment #
Ask an LLM
“How do I remove a saved card from my account?”
“Can I delete a payment method I no longer use?”
Tell an agent destructive · confirm first
Delete payment method {bmethodId} from my account.
Remove saved card {bmethodId} from the account.
GET /api/v1/Billing/StripeSession Get a Stripe checkout session URL · Get api billing stripe session #
Ask an LLM
“How do I get a Stripe checkout link for a pricing plan?”
“Can I create a Stripe session for a specific plan?”
Tell an agent
Get a Stripe checkout session for plan {pricingPlanId}.
Create a Stripe session for plan {pricingPlanId} in {mode} mode.
GET /api/v1/Billing/current-subscription Get the current subscription · Get api billing current subscription #
Ask an LLM
“What subscription is my account on right now?”
“Can I check the current subscription for a client?”
Tell an agent
Show my current subscription.
Get the subscription for client {clientId}.
GET /api/v1/Billing/coupon Look up a coupon · Get api billing coupon #
Ask an LLM
“What are the details of a promo code?”
“Can I check a coupon by its promo code?”
Tell an agent
Look up coupon {promo}.
Get the details of promo code {promo}.
POST /api/v1/Billing/recharge Recharge the account balance · Create api billing recharge #
Ask an LLM
“How do I top up my account balance?”
“Can I add money to my account balance?”
Tell an agent
Recharge my account balance.
Add funds to the account balance.

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/gameball:gameball-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. 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

gameball-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gameball Billing API
tags:
- name: Billing
paths:
  /api/v1/Billing/PaymentMethods:
    get:
      tags:
      - Billing
      summary: Get api billing payment methods
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      x-summary-source: derived
      operationId: getApiV1BillingPaymentMethods
      x-operation-id-source: derived
  /api/v1/Billing/DefaultPayment:
    get:
      tags:
      - Billing
      summary: Get api billing default payment
      parameters:
      - name: bmethodId
        in: query
        description: BillingPaymentMethodId
        schema:
          type: string
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      x-summary-source: derived
      operationId: getApiV1BillingDefaultPayment
      x-operation-id-source: derived
  /api/v1/Billing/attachCoupon:
    get:
      tags:
      - Billing
      parameters:
      - name: promo
        in: query
        schema:
          type: string
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.String'
            application/json:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.String'
            text/json:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.String'
      summary: Get api billing attach coupon
      x-summary-source: derived
      operationId: getApiV1BillingAttachCoupon
      x-operation-id-source: derived
  /api/v1/Billing/deattachCoupon:
    put:
      tags:
      - Billing
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.String'
            application/json:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.String'
            text/json:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.String'
      summary: Replace api billing deattach coupon
      x-summary-source: derived
      operationId: putApiV1BillingDeattachCoupon
      x-operation-id-source: derived
  /api/v1/Billing/customerInvoices:
    get:
      tags:
      - Billing
      summary: Get all invoices for a customer
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      operationId: getApiV1BillingCustomerInvoices
      x-operation-id-source: derived
  /api/v1/Billing/deletePayment:
    delete:
      tags:
      - Billing
      parameters:
      - name: bmethodId
        in: query
        schema:
          type: string
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      summary: Delete api billing delete payment
      x-summary-source: derived
      operationId: deleteApiV1BillingDeletePayment
      x-operation-id-source: derived
  /api/v1/Billing/StripeSession:
    get:
      tags:
      - Billing
      summary: Get api billing stripe session
      parameters:
      - name: pricingPlanId
        in: query
        schema:
          type: integer
          format: int32
      - name: mode
        in: query
        schema:
          type: string
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      x-summary-source: derived
      operationId: getApiV1BillingStripeSession
      x-operation-id-source: derived
  /api/v1/Billing/current-subscription:
    get:
      tags:
      - Billing
      parameters:
      - name: clientId
        in: query
        schema:
          type: integer
          format: int32
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_GameBall.Common.Connectors.Billing.Models.CustomerSubscriptionDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_GameBall.Common.Connectors.Billing.Models.CustomerSubscriptionDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_GameBall.Common.Connectors.Billing.Models.CustomerSubscriptionDetails'
      summary: Get api billing current subscription
      x-summary-source: derived
      operationId: getApiV1BillingCurrentSubscription
      x-operation-id-source: derived
  /api/v1/Billing/coupon:
    get:
      tags:
      - Billing
      parameters:
      - name: promo
        in: query
        schema:
          type: string
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      summary: Get api billing coupon
      x-summary-source: derived
      operationId: getApiV1BillingCoupon
      x-operation-id-source: derived
  /api/v1/Billing/recharge:
    post:
      tags:
      - Billing
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      summary: Create api billing recharge
      x-summary-source: derived
      operationId: postApiV1BillingRecharge
      x-operation-id-source: derived
components:
  schemas:
    GameBall.Common.ProcessResult.ProcessResultStatusCode:
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
      - 7
      - 8
      - 9
      - 10
      - 11
      - 12
      - 13
      - 14
      - 15
      - 16
      - 17
      - 18
      - 19
      - 20
      - 21
      - 22
      - 50
      - 51
      - 52
      - 53
      - 54
      - 101
      - 102
      - 151
      - 152
      - 153
      - 154
      - 155
      - 156
      - 157
      - 158
      - 159
      - 160
      - 161
      - 162
      - 301
      - 302
      - 303
      - 304
      - 305
      - 306
      - 307
      - 308
      - 309
      - 310
      - 311
      - 312
      - 313
      - 314
      - 315
      - 316
      - 317
      - 318
      - 319
      - 320
      - 321
      - 322
      - 323
      - 324
      - 325
      - 326
      - 327
      - 328
      - 329
      - 330
      - 331
      - 332
      - 333
      - 334
      - 335
      - 337
      - 351
      - 401
      - 402
      - 403
      - 404
      - 405
      - 412
      - 413
      - 414
      - 415
      - 416
      - 417
      - 418
      - 419
      - 420
      - 421
      - 422
      - 423
      - 424
      - 425
      - 426
      - 427
      - 500
      - 503
      - 800
      - 801
      type: integer
      format: int32
    GameBall.Common.Connectors.Billing.Models.CustomerSubscriptionDetails:
      type: object
      properties:
        plan:
          type:
          - string
          - 'null'
        total:
          type:
          - number
          - 'null'
          format: double
        nextPaymentDate:
          type:
          - string
          - 'null'
          format: date-time
        nextPaymentAttemptDate:
          type:
          - string
          - 'null'
          format: date-time
        coupon:
          $ref: '#/components/schemas/GameBall.Common.Connectors.Billing.Models.CustomerCoupon'
        startingDate:
          type:
          - string
          - 'null'
          format: date-time
        nextSubsctiption:
          $ref: '#/components/schemas/GameBall.Common.Connectors.Billing.Models.CustomerSubscriptionDetails'
        collectionMethod:
          $ref: '#/components/schemas/GameBall.Common.Connectors.Billing.Models.EStripeCollectionMethod'
      additionalProperties: false
    GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.String:
      type: object
      properties:
        isSucceeded:
          type: boolean
        methodName:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultStatus'
        data:
          type:
          - string
          - 'null'
      additionalProperties: false
    GameBall.Common.Connectors.Billing.Models.CustomerCoupon:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        percentOff:
          type:
          - number
          - 'null'
          format: double
        amountOff:
          type:
          - number
          - 'null'
          format: double
        duration:
          type:
          - string
          - 'null'
      additionalProperties: false
    ? GameBall.Common.ProcessResult.ProcessResultViewModel_1_GameBall.Common.Connectors.Billing.Models.CustomerSubscriptionDetails
    : type: object
      properties:
        isSucceeded:
          type: boolean
        methodName:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultStatus'
        data:
          $ref: '#/components/schemas/GameBall.Common.Connectors.Billing.Models.CustomerSubscriptionDetails'
      additionalProperties: false
    GameBall.Common.ProcessResult.ProcessResultStatus:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultStatusCode'
        message:
          type:
          - string
          - 'null'
      additionalProperties: false
    GameBall.Common.Connectors.Billing.Models.EStripeCollectionMethod:
      enum:
      - 1
      - 2
      type: integer
      format: int32
x-provenance:
  method: harvested
  publisher: Gameball
  source: https://api.gameball.co/swagger/v1/swagger.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)