LayerHop Checkout API

Pay with any token: a merchant creates a checkout session (an amount in USDC or USDT on one chain, paid to their address) and shares its hosted link. The payer pays with any token on any chain; LayerHop routes it so the merchant receives at least the amount due, verifies the delivery on the settlement chain, then marks the session `paid` and sends `checkout.session.completed`. Creating and managing sessions needs an API key; the payer-facing routes (`GET` a session, `POST …/quote`) do not. Paid sessions can be refunded (in full or in part) from the merchant's own wallet with `POST /v1/checkout/sessions/{id}/refunds`.

GitHub OpenAPI

Operations 17

POST /v1/checkout/sessions Create a checkout session #
GET /v1/checkout/sessions List checkout sessions #
GET /v1/checkout/sessions/{id} Get a checkout session #
POST /v1/checkout/products Create a product #
GET /v1/checkout/products List products #
GET /v1/checkout/products/{id} Get a product #
PATCH /v1/checkout/products/{id} Update a product #
POST /v1/checkout/products/{id}/sessions Start a checkout for a product #
GET /v1/checkout/sessions/{id}/events Stream a checkout session #
POST /v1/checkout/sessions/{id}/expire Expire a checkout session #
POST /v1/checkout/sessions/{id}/quote Quote a payment for a session #
POST /v1/checkout/sessions/{id}/transfer Show a "Send to address" payment QR #
GET /v1/checkout/sessions/{id}/solana-pay Solana Pay transaction request (label) #
POST /v1/checkout/sessions/{id}/solana-pay Solana Pay transaction request (transaction) #
POST /v1/checkout/sessions/{id}/refunds Refund a paid session #
GET /v1/checkout/sessions/{id}/refunds List a session's refunds #
POST /v1/checkout/sessions/{id}/bitcoin Show a "Pay with Bitcoin" deposit address #

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/layerhop-com:layerhop-com-checkout-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

layerhop-com-checkout-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Layerhop Com Checkout API
  version: 0.1.0
  contact:
    name: LayerHop
    url: https://docs.layerhop.com
  description: 'Operations tagged Checkout across 2 of this provider''s published API definitions: layerhop-com-openapi.yaml, openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.layerhop.com
  description: Hosted API (production)
- url: http://localhost:8787
  description: Local API (`pnpm --filter @layerhop/api dev`)
security:
- {}
- ApiKey: []
tags:


# --- truncated at 32 KB (73 KB total) ---
# Full source: https://artifacts.apis.io/layerhop-com/openapi/layerhop-com-checkout-api-openapi.yml