Page Lemon Payments API

The payments API from Page Lemon — 34 operation(s) for payments.

GitHub OpenAPI

Operations 40

POST /v2/sites/{site}/checkouts Hold a cart and start paying (a visitor or a signed-in user) #
GET /v2/sites/{site}/checkouts/{checkout}:go A visitor's way to Stripe for a held cart: 303 to Stripe's checkout page once… #
GET /v2/sites/{site}/me/memberships Your memberships on this site #
POST /v2/sites/{site}/me/memberships/{membership}:cancel Cancel your membership; it ends at the period end #
POST /v2/sites/{site}/me/memberships/{membership}:open-billing-portal Manage your card, invoices, plan and cancellation in Stripe #
GET /v2/sites/{site}/me/orders Your orders on this site #
POST /v2/sites/{site}/me/store-purchases:restore Restore your App Store, Google Play or RevenueCat purchases on this site (the… #
GET /v2/sites/{site}/me/store-token Your store token on this site (pass it as Apple’s appAccountToken when you buy) #
GET /v2/sites/{site}/membership-attention Memberships that need your attention #
POST /v2/sites/{site}/membership-comps Give a user a free membership of a plan #
POST /v2/sites/{site}/membership-comps/{membership_comp}:end End a free membership you gave #
GET /v2/sites/{site}/membership-plans List paid app plans #
POST /v2/sites/{site}/membership-plans Add a paid app plan #
PATCH /v2/sites/{site}/membership-plans/{membership_plan} Rename a membership plan (If-Match: the etag list_membership_plans gave) #
POST /v2/sites/{site}/membership-plans/{membership_plan}:archive Stop offering a membership plan; members stay until they cancel #
GET /v2/sites/{site}/membership-settings The site's membership settings #
PATCH /v2/sites/{site}/membership-settings Change whether users can switch plans (If-Match: the etag… #
GET /v2/sites/{site}/memberships The site's memberships, newest first #
GET /v2/sites/{site}/orders List the orders taken on this workspace's account #
GET /v2/sites/{site}/orders/{order} Read an order; expand=refunds adds its refunds #
POST /v2/sites/{site}/orders/{order}/refunds Refund an order (the Workspace Owner in the Dashboard; anyone else records it… #
POST /v2/sites/{site}/orders/{order}:fulfil Mark an order sent (a key or AI connection confirms first) #
POST /v2/sites/{site}/orders/{order}:refuse Refuse an order and refund what is left #
GET /v2/sites/{site}/payments/summary The site's revenue and refunds by week (12 weeks by default, up to 52), one row… #
GET /v2/sites/{site}/products List shop products #
POST /v2/sites/{site}/products Add a shop product #
PATCH /v2/sites/{site}/products/{product} Change a product (If-Match required: a price is money) #
POST /v2/sites/{site}/products/{product}:add-stock Add (or take away) stock #
GET /v2/sites/{site}/refunds The site's refunds; waiting=true for those waiting for the owner #
POST /v2/sites/{site}/refunds/{refund}:approve Approve a refund waiting for the owner #
GET /v2/sites/{site}/shipping-options List the shop's shipping options #
PUT /v2/sites/{site}/shipping-options Replace the shop's shipping options (at most 5, charged once per order… #
GET /v2/sites/{site}/store-credentials The store connections of a site (public ids and their state; never a key) #
GET /v2/sites/{site}/store-products Store products and the plans they sell #
POST /v2/sites/{site}/store-products Set the plan a store product sells #
DELETE /v2/sites/{site}/store-products/{store_product} Stop selling a plan through a store product (its members keep their plan… #
GET /v2/sites/{site}/store-settings The store settings of a site: whether test purchases are accepted, and when… #
PUT /v2/sites/{site}/store-settings Turn test purchases on (for App Review) or off; on turns itself off after 14… #
GET /v2/workspaces/{workspace}/payment-account Whether the workspace can take payments; its Owner also sees the payouts status #

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/pagelemon-com:pagelemon-com-payments-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

pagelemon-com-payments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Page Lemon Payments API
  version: '2'
  description: Generated by scripts/gen-openapi.mjs from the route registry; do not edit.
servers:
- url: https://api.pagelemon.com
tags:


# --- truncated at 32 KB (340 KB total) ---
# Full source: https://artifacts.apis.io/pagelemon-com/openapi/pagelemon-com-payments-api-openapi.yml