Agri Info Design V1 Pay API

課金関連のAPI

Operations 3

POST /v1/pay/calculate/functionality Calculate functionality #
GET /v1/pay/purchases Get purchase info from token #
GET /v1/pay/purchases/{username} Get purchase info from username #

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/agriinfodesign-v1pay-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

agriinfodesign-v1pay-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Agriinfodesign V1 Pay API
  description: 課金関連のAPI
servers:
- url: http://pay.agribus-connect.net
  description: Generated server url
security:
- bearerAuth: []
tags:
- name: V1Pay
  description: 課金関連のAPI
paths:
  /v1/pay/calculate/functionality:
    post:
      tags:
      - V1Pay
      description: usernameからFunctionalityを計算し、Authサーバに通知します。
      operationId: calculateFunctionality
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CalculateFunctionalityRequest'
        required: true
      responses:
        '200':
          description: OK
      summary: Calculate functionality
      x-summary-source: derived
  /v1/pay/purchases:
    get:
      tags:
      - V1Pay
      description: TokenからPurchaseInfoを取得します
      operationId: getPurchaseInfoFromToken
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PurchaseInfo'
      summary: Get purchase info from token
      x-summary-source: derived
  /v1/pay/purchases/{username}:
    get:
      tags:
      - V1Pay
      description: usernameからPurchaseInfoを取得します
      operationId: getPurchaseInfoFromUsername
      parameters:
      - name: username
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PurchaseInfo'
      summary: Get purchase info from username
      x-summary-source: derived
components:
  schemas:
    PurchaseInfo:
      type: object
      properties:
        billingVendor:
          type: string
          enum:
          - Google
          - Stripe
        planStartedAt:
          type: string
          format: '2016-01-01T00:00:00.000Z'
        planExpiredAt:
          type: string
          format: '2016-01-01T00:00:00.000Z'
        trial:
          type: boolean
        subscriptionId:
          type: string
        autoRenewing:
          type: boolean
        purchases:
          type: array
          items:
            $ref: '#/components/schemas/Purchase'
    Purchase:
      type: object
      properties:
        billingVendor:
          type: string
          enum:
          - Google
          - Stripe
        startedAt:
          type: string
          format: '2016-01-01T00:00:00.000Z'
        expiredAt:
          type: string
          format: '2016-01-01T00:00:00.000Z'
        planId:
          type: string
        orderId:
          type: string
        invoiceId:
          type: string
        state:
          type: string
          enum:
          - Paid
          - Trial
          - NotPaid
          - Canceled
        amountPaid:
          type: integer
          format: int64
        invoiceUrl:
          type: string
        currency:
          type: string
        autoRenewing:
          type: boolean
        collectionMethod:
          type: string
    CalculateFunctionalityRequest:
      type: object
      properties:
        username:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT