DPD developer docs
These docs are for developers and designers building on DPD. If you’re setting up a store, products or payments, the DPD helpdesk is the place to start.
Embed components
Section titled “Embed components”Paste product cards, add to cart buttons and a cart into any page on your site. Your visitors shop on your page, then pay at your store’s hosted checkout. Style them with CSS to match your site.
Classic buy buttons
Section titled “Classic buy buttons”DPD’s older embed codes: cart links, buttons, widgets and price choosers that open the cart in a lightbox. They still work, and you can move them to the new cart drawer one link at a time.
REST API
Section titled “REST API”The DPD API lets your own code read your account’s storefronts, products, purchases, customers and subscribers. Use it to check a member’s subscription before you show them a page, pull orders into your own reports, or verify the purchase notifications DPD sends your site.
- Get started with the API
- Endpoint reference
- The OpenAPI description, for code generators and API clients
For AI agents
Section titled “For AI agents”Building with Claude, Cursor or another coding agent? Point it at llms.txt and the OpenAPI description. See Using DPD with AI agents.