sumup
Original:🇺🇸 English
Translated
Guide for building SumUp payment integrations that cover both terminal (card-present) and online (card-not-present) checkout flows using SumUp SDKs and APIs. Use when implementing or debugging SumUp checkout creation, payment processing, reader pairing, Card Widget integrations, Cloud API reader checkouts, or authorization setup with API keys/OAuth and Affiliate Keys.
19installs
Sourcesumup/sumup-skills
Added on
NPX Install
npx skill4agent add sumup/sumup-skills sumupTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →SumUp Checkout Integrations
Knowledge and APIs can change. Always prefer the latest SumUp docs in markdown format over stale memory.
- Docs root:
https://developer.sumup.com/ - LLM entrypoint:
https://developer.sumup.com/llms.txt - Markdown page format example:
https://developer.sumup.com/terminal-payments/cloud-api/index.md
Use this skill to implement end-to-end SumUp checkouts for:
- Terminal payments (native mobile SDKs, Cloud API for Solo, or Payment Switch)
- Online payments (Card Widget and API-orchestrated checkout flow)
Quick Decision Tree
text
Need to accept a payment?
├─ In-person (card-present) → terminal
│ ├─ Native mobile app + direct reader flow → terminal/mobile (iOS SDK or Android Reader SDK)
│ ├─ Non-native POS/backend controls Solo reader → terminal/platform-agnostic (Cloud API)
│ └─ Legacy app handoff to SumUp app explicitly required → terminal/legacy-lightweight (Payment Switch)
└─ Online (card-not-present) → online
├─ Fastest secure integration, hosted/embedded UI acceptable → online/low-complexity (Card Widget)
└─ Custom orchestration and async lifecycle handling required → online/custom (Checkouts API + 3DS + webhooks)Start Here
- Classify the requested flow:
- : in-person card-present payment
terminal - : e-commerce/web/app card-not-present payment
online - : both (for example, web checkout + in-store Solo)
hybrid
- Pick integration path:
- : iOS SDK or Android Reader SDK
terminal/mobile - : Cloud API with Solo readers
terminal/platform-agnostic - : Payment Switch
terminal/legacy-lightweight - : Card Widget
online/low-complexity - : Checkouts API + 3DS + webhooks
online/custom
- Confirm credentials and environment:
- API key or OAuth access token
- Affiliate Key for card-present flows
- Merchant code and currency alignment
- Sandbox merchant account for non-production testing
- Ask for missing critical inputs before implementation:
- integration channel (mobile SDK, Cloud API, Card Widget, or API-orchestrated)
- target market/currency and merchant code
- auth model (API key vs OAuth)
- webhook endpoint and idempotency strategy
- existing constraints (legacy compatibility, migration, PCI scope)
- Apply the implementation pattern from .
references/checkout-playbook.md - Use and open only the single most relevant entrypoint for the request.
references/README.md
Non-Negotiable Rules
- Keep secret API keys and OAuth client secrets server-side only.
- Never handle raw PAN/card data directly.
- Create online checkouts server-to-server.
- Prefer Card Widget and SDK-provided checkout experiences to avoid handling raw card details.
- For card-present integrations, include the Affiliate Key and ensure app identifiers match the key setup.
- Avoid Payment Switch unless the user explicitly requests it or has a hard legacy constraint.
- Use unique transaction references (,
checkout_reference, or equivalent) to prevent duplicates and improve reconciliation.foreignTransactionId - Do not use endpoints marked as deprecated.
- Prefer endpoints that accept as an explicit parameter when equivalent alternatives exist.
merchant_code - Treat webhook events as notifications only; verify state through API reads.
- After a widget/client callback reports success, always verify final checkout state on the backend before confirming order/payment success.
Implementation Workflow
- Set up auth and merchant context.
- Create checkout request with unique reference and correct currency.
- Complete checkout via chosen channel:
- terminal SDK checkout call
- Cloud API reader checkout
- Card Widget
- direct checkout processing flow
- Handle async outcomes:
- SDK callback / activity result / event stream
- 3DS redirect flow
next_step - webhook delivery + API verification
- Return normalized result (status, transaction identifiers, retry guidance).
Required Response Contract
Every solution should state:
- Chosen integration path and why.
- End-to-end sequence (server, client, webhook/async verification).
- Exact endpoint set, confirming no deprecated endpoints and preference for -accepting endpoints.
merchant_code - Failure and retry handling (timeouts, duplicate refs, webhook retries).
- Test plan for success, deliberate failure, and reconciliation checks.
Validation Checklist
- Test and capture both successful payment and deliberate failure case (in test mode).
amount = 11 - Verify behavior for duplicate transaction references.
- Verify timeout/session expiry behavior in the selected checkout path.
- Verify webhook retries and idempotent processing.
- Verify reconciliation fields are stored (checkout id, transaction id/code, merchant code, reference).
References
- Use to pick the right reference file.
references/README.md - Each reference file includes its own canonical markdown docs URL. Prefer that URL over stale memory.