apis.directory

Payhere API vs Commerce Layer API

Payhere APIby PayherePaid fromNot statedAccessHTTP, SDK, WebhooksAgentsNot agent-friendlyAPI QA score[SCORE]View API
Commerce Layer APIby Commerce LayerPaid fromNot statedAccessHTTP, SDK, CLI, MCP, WebhooksAgentsNot agent-friendlyAPI QA score[SCORE]View API

Fact by fact

15 different7 stated by only one1 the same on both

The basics

Made byPayhere API: PayhereCommerce Layer API: Commerce Layer
What it isPayhere API: REST API, embed SDK and webhooks for Payhere payment links, plans, subscriptions and refunds on a small business's own connected Stripe accountCommerce Layer API: API-first headless commerce: a Core API with 400+ endpoints for SKUs, prices, inventory, carts, orders, payments and shipments, a Metrics API, and Core and Metrics MCP servers
AccessPayhere API: HTTP, SDK, WebhooksCommerce Layer API: HTTP, SDK, CLI, MCP, Webhooks
Still on salePayhere API: YesCommerce Layer API: Yes

Price

PricesPayhere API:
  • Business$149 /month
Commerce Layer API: Not stated

Buying and paying

Agent gets a key alonePayhere API: Nokey or OAuth grant is created by a signed-in personCommerce Layer API: NoAPI credentials created in the dashboard
First call without a keyPayhere API: Noevery call needs a key or OAuth tokenCommerce Layer API: Nocalls need a key or token
Agent can payPayhere API: Noplan bought by card in the web app by a person; no agent payment protocolCommerce Layer API: NoEnterprise by contract
Payment railsPayhere API: cardcard payments through the buyer's Stripe account; Payhere fee taken per transactionCommerce Layer API: Not stated
Payment protocolsPayhere API: noneno x402, MPP, ACP or AP2 on pages readCommerce Layer API: noneno agent payment protocol named on the pages read
Subscription requiredPayhere API: No'At 1.5% — no subscription, ever'Commerce Layer API: NoDeveloper plan free
Smallest purchase (USD)Payhere API: From $0Starter $0 /moCommerce Layer API: Not stated
Price published as dataPayhere API: Noprices only in the HTML pageCommerce Layer API: No
Test purchasesPayhere API: Yesdevelopers page: 'Testing Try your integration in the sandbox first'Commerce Layer API: Yes'Unlimited test orders'

Reading and signing up

Public pricesPayhere API: Yesplan prices on the public pricing pageCommerce Layer API: Some prices are on a public pageDeveloper free; Enterprise 'Custom'
Self-serve sign-upPayhere API: Yesaccount by web sign-up; key or OAuth from the accountCommerce Layer API: Yes'Start Building'
Free usePayhere API: YesStarter '$0 /mo' with a per-transaction feeCommerce Layer API: Yes'100 free live orders/month'
Docs without loginPayhere API: YesAPI reference readable without an accountCommerce Layer API: Yes
llms.txtPayhere API: Yespayhere.co/llms.txt (not on developers.payhere.co)Commerce Layer API: Yescommercelayer.io/llms.txt and docs.commercelayer.io/llms.txt
Docs as MarkdownPayhere API: Not statedCommerce Layer API: Yesdocs.commercelayer.io returned text/markdown

MCP

Vendor MCP serverPayhere API: Not statedCommerce Layer API: YesCore MCP server https://core-mcp.commercelayer.io/mcp and a Metrics MCP server
MCP server hosted by the vendorPayhere API: Not statedCommerce Layer API: Yes
MCP sign-inPayhere API: Not statedCommerce Layer API: Signs in with OAuthaccess token from API credentials, or the OAuth 2.0 flow from Claude Desktop

Jobs both do

Open a job to see every API that does it.

For API makers

Is your API missing?

Send one link and we add it to the graph: what it works on, what it costs and what it connects to.

Free, or $100 one time for review in 1 to 2 days.