Match It Up Subscriptions API

The Subscriptions API from Match It Up — 8 operation(s) for subscriptions.

Operations 8

GET /api/subscriptions/config Get Payment Config #
GET /api/subscriptions/plans Get Available Plans #
POST /api/subscriptions/subscribe Create User Subscription #
GET /api/subscriptions/subscription Get Current Subscription #
POST /api/subscriptions/upgrade Upgrade User Subscription #
POST /api/subscriptions/webhook Razorpay Webhook #
GET /api/subscriptions/history Get Payment History #
POST /api/subscriptions/verify Verify Payment #

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/matchitup-in-subscriptions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

matchitup-in-subscriptions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Subscriptions API
  version: 0.1.0
  x-spec-profile: public-filtered
  x-spec-note: This is the PUBLIC spec for external agents + ChatGPT Actions. Super-admin and internal debug routes are excluded. Regenerated via backend/scripts/filter_public_openapi.py.
  description: Public API for external agents and ChatGPT Custom GPT Actions.
servers:
- url: https://matchitup.in
  description: Production
tags:
- name: Subscriptions
paths:
  /api/subscriptions/config:
    get:
      tags:
      - Subscriptions
      summary: Get Payment Config
      description: Get Razorpay configuration for frontend
      operationId: get_payment_config_api_subscriptions_config_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/subscriptions/plans:
    get:
      tags:
      - Subscriptions
      summary: Get Available Plans
      description: Get all available subscription plans
      operationId: get_available_plans_api_subscriptions_plans_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/subscriptions/subscribe:
    post:
      tags:
      - Subscriptions
      summary: Create User Subscription
      description: Create a new subscription for the user
      operationId: create_user_subscription_api_subscriptions_subscribe_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSubscriptionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/subscriptions/subscription:
    get:
      tags:
      - Subscriptions
      summary: Get Current Subscription
      description: Get current user's subscription status
      operationId: get_current_subscription_api_subscriptions_subscription_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/subscriptions/upgrade:
    post:
      tags:
      - Subscriptions
      summary: Upgrade User Subscription
      description: 'Upgrade subscription to a higher plan.

        Razorpay handles proration automatically - user pays only the difference.'
      operationId: upgrade_user_subscription_api_subscriptions_upgrade_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpgradeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/subscriptions/webhook:
    post:
      tags:
      - Subscriptions
      summary: Razorpay Webhook
      description: 'Handle Razorpay webhooks

        Endpoint: https://matchitup.in/api/subscriptions/webhook'
      operationId: razorpay_webhook_api_subscriptions_webhook_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/subscriptions/history:
    get:
      tags:
      - Subscriptions
      summary: Get Payment History
      description: Get user's payment history
      operationId: get_payment_history_api_subscriptions_history_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/subscriptions/verify:
    post:
      tags:
      - Subscriptions
      summary: Verify Payment
      description: 'Verify payment signature from Razorpay embedded checkout

        This is called after successful payment in the modal'
      operationId: verify_payment_api_subscriptions_verify_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerifyPaymentRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
components:
  schemas:
    UpgradeRequest:
      properties:
        plan_key:
          type: string
          title: Plan Key
      type: object
      required:
      - plan_key
      title: UpgradeRequest
    CreateSubscriptionRequest:
      properties:
        plan_key:
          type: string
          title: Plan Key
      type: object
      required:
      - plan_key
      title: CreateSubscriptionRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    VerifyPaymentRequest:
      properties:
        razorpay_payment_id:
          type: string
          title: Razorpay Payment Id
        razorpay_subscription_id:
          type: string
          title: Razorpay Subscription Id
        razorpay_signature:
          type: string
          title: Razorpay Signature
      type: object
      required:
      - razorpay_payment_id
      - razorpay_subscription_id
      - razorpay_signature
      title: VerifyPaymentRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer