Build with AI

Use your AI coding assistant to build a Ledyer integration with the right documentation and product-specific guidance.

How to use these prompts

  1. Open your project in a coding assistant that can read your repository and fetch documentation URLs.
  2. Copy the prompt for your integration and paste it into the assistant. Add any project-specific requirements, such as your fulfillment flow or accounting system.
  3. Let the assistant inspect your project, read the documentation, and clarify missing requirements before implementing.
  4. Review the implementation and validate it in sandbox using the relevant guides and checklists.

For Payments, Checkout, and Settlement integrations, generate your API credentials in the Ledyer merchant portal. See Payment API authentication for how to use them.

Documentation sources

  • llms.txt is the starting point: product relationships, shared best practices, and links to the relevant guides.
  • openapi.json describes the public payment, Order Management, and Settlement HTTP APIs in Swagger/OpenAPI 2.0 format. It defaults to sandbox and does not cover Access. See the OpenAPI usage guide for scope, environments, and authentication.
  • Integration guides explain browser SDKs, notifications, and lifecycle behavior. Use them alongside the specification.

Integration prompts

Choose the prompt that matches your product. Payments adds a payment option to your existing checkout; Checkout embeds Ledyer’s checkout experience. Both prompts include shared Order Management so the integration covers the order lifecycle beyond purchase authorization.

Ledyer Checkout

Embed Ledyer’s checkout and connect the complete order lifecycle.

Ledyer Payments

Add Ledyer as a payment option in your existing checkout, including Order Management.

Settlement

Retrieve payouts and transactions for reconciliation with your records.

Ledyer Access

Identify customers and retrieve user and company information.