Skip to content

fix: correct Solo checkout example in affiliate keys docs - #1019

Draft
nicosommi wants to merge 1 commit into
mainfrom
fix/affiliate-keys-solo-checkout-example
Draft

nicosommi wants to merge 1 commit into
mainfrom
fix/affiliate-keys-solo-checkout-example

Conversation

@nicosommi

Copy link
Copy Markdown

Summary

  • Fixes the Solo Reader Checkout example in affiliate keys docs: nested checkout / decimal amount did not match CreateReaderCheckoutRequest and omitted required affiliate.foreign_transaction_id, which caused 400s for copy-paste integrators.
  • Aligns the example with OpenAPI (total_amount, root description, affiliate app_id / key / foreign_transaction_id) and clarifies this payload is for Cloud API POST .../readers/{reader_id}/checkout, not mobile SDKs.
  • Replaces the absolute developer.sumup.com link with root-absolute /api/readers/create-checkout/.

Caveat: OpenAPI marks affiliate nullable at the request root; product docs treat Affiliate Keys as mandatory for card-present. The example includes affiliate with the subfields required when that object is sent.

Test plan

  • npm run check
  • npm run lint:markdown
  • npm run linkcheck
  • npm run build
  • Preview /tools/authorization/affiliate-keys/ and confirm JSON + link render

Made with Cursor

Align the Solo Reader Checkout payload with CreateReaderCheckoutRequest and use a root-absolute API link so integrators do not copy a 400-causing example.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
developer-sumup-com 40da4ca Commit Preview URL

Branch Preview URL
Oct 09 2026, 01:36 PM

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant