Verify a Payhip software license key via the API

domain: payhip.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Determine whether you're integrating against the current v2 or legacy v1 license API, since they use different auth models
  2. For v2, call GET https://payhip.com/api/v2/license/verify?license_key=... with a product-secret-key header (a per-product secret, not an account-wide API key)
  3. For legacy v1, call GET https://payhip.com/api/v1/license/verify with product_link and license_key as query-string params and a payhip-api-key header
  4. Read the response fields (enabled, product_link, license_key, buyer_email, uses, product_name, variant_name) to determine entitlement
  5. Use the corresponding enable/disable endpoints (PUT) with the same param pattern to programmatically revoke or restore a license

Known gotchas

Related routes

Verify a Gumroad license key from a sold product
gumroad.com · 5 steps · unrated
Verify a player's game purchase and download key using the itch.io server API
gaming · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans