EPD Commerce
Accept payments, manage subscriptions, and automate billing with one REST API — and one MCP server for AI agents.
EPD Commerce is one place to take payments online: charge cards once, bill customers on a schedule, refund what you need to, and let your software (or an AI agent) do all of it through a clean REST API.
Choose how you want to start
Make your first authenticated call in under five minutes. End-to-end charge with no real money.
Use the EPD MCP server to let Claude, Cursor, or your own LLM agent run real commerce tasks.
Open the full interactive API reference with every endpoint and every field.
What you can build
Setup: ~30 minutes · Best for: product purchases, top-ups, donations.
Charge a card once and confirm via webhook.
Setup: ~1 hour · Best for: SaaS, memberships, recurring services.
Plans, trials, automatic retries, dunning emails.
Setup: ~10 minutes · Best for: support and operations workflows.
Issue full or partial refunds against any paid order.
Setup: ~15 minutes · Best for: internal copilots, customer-support agents, ops dashboards.
Typed tools, reachable from any MCP-aware client.
How EPD works at a glance
A sandbox key (epd_test_sk_...) for testing, a live key (epd_live_sk_...) for real money. The key alone decides which mode every request runs in. There is no separate sandbox host.
All REST traffic goes to https://api.epd.com/v1. Pin your code to a version date with the epd-version header — e.g. 2026-02-11.
Card vaulting, recurring billing, smart retries, and signed webhooks — all built in.
For anything asynchronous (settlement, renewals, chargebacks), EPD POSTs a signed JSON event to your endpoint.
Start here, by role
Make your first API call in under five minutes.
Generate keys, choose permissions, set IP allowlists.
Receive and verify real-time events.
Sandbox card tokens for every payment outcome.
Drive EPD from Claude, Cursor, or your own agent.
Plain-English definitions of every term used in these docs.
Base URL
All API requests are sent to a single production base URL:
https://api.epd.com/v1
There is no separate sandbox host. Whether a request runs in live or sandbox mode is determined by the API key you send.
Sandbox keys are created inside the Demo Company that EPD provisions alongside your real company at sign-up — switch companies from the profile avatar (top right) before creating a key. Live keys are created inside your real company. Use a sandbox key while building and testing, and a live key once you are ready to accept real payments.