Skip to main content

API and E-Commerce Integration Pattern

The API + E-Commerce Integration pattern combines back-end orchestration with Capricorn-hosted payment screens for selected customer interactions.

When to use this pattern​

  • You want Capricorn to host part of the payment experience.
  • You still need API-driven orchestration for session creation, status tracking, or downstream workflows.
  • Your delivery team wants a lighter PCI-related front-end footprint, subject to Capricorn confirmation.

:::note Diagram placeholder [TO BE CONFIRMED - insert API + E-Commerce Integration flow diagram] showing merchant application, Capricorn API session creation, browser hand-off, and response handling. :::

Illustrative flow summary​

PhaseIllustrative actionPlaceholder dependency
Session setupCreate a payment or checkout session via API[TO BE CONFIRMED]
Browser hand-offRedirect or embed the hosted page[TO BE CONFIRMED - E-Commerce Integration URL pattern]
CompletionReceive callback, redirect, or status query result[TO BE CONFIRMED - return model]
ReconciliationVerify final status using API or event updates[TO BE CONFIRMED]
POST /illustrative/payment-session
Authorization: ******
Content-Type: application/json