RealPing Billing API

The Billing API from RealPing — 3 operation(s) for billing.

GitHub OpenAPI

Operations 3

POST /billing/checkout 升級 Pro:取得綠界定期定額訂單 #
POST /billing/ecpay/notify 綠界首期授權通知(內部) #
POST /billing/ecpay/period 綠界定期定額執行通知(內部) #

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/realping-tw:realping-tw-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

realping-tw-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RealPing 實坪 Billing API
  description: 去車位、去公設修正後的台灣不動產實坪每坪成交資料。資料來源:內政部不動產交易實價查詢服務網
  version: 0.1.0
tags:
- name: Billing
paths:
  /billing/checkout:
    post:
      summary: 升級 Pro:取得綠界定期定額訂單
      description: '登入者升級 Pro:組好綠界信用卡定期定額訂單,回 {action, params}(含 CheckMacValue),

        前端建表單 POST 到 action 即導向綠界付款頁。可帶統編/抬頭,扣款成功後開立統編電子發票。

        未設定金流(ECPAY_*)時回 503。'
      operationId: billing_checkout_billing_checkout_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/CheckoutBody'
              - type: 'null'
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Billing
  /billing/ecpay/notify:
    post:
      summary: 綠界首期授權通知(內部)
      description: ReturnURL:首期授權結果。成功→升 Pro。
      operationId: billing_ecpay_notify_billing_ecpay_notify_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Billing
  /billing/ecpay/period:
    post:
      summary: 綠界定期定額執行通知(內部)
      description: PeriodReturnURL:之後每期執行結果。成功→維持 Pro、失敗→降回 Free。
      operationId: billing_ecpay_period_billing_ecpay_period_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Billing
components:
  schemas:
    CheckoutBody:
      properties:
        tax_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Tax Id
        company:
          anyOf:
          - type: string
          - type: 'null'
          title: Company
      type: object
      title: CheckoutBody
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError