Skip to content

Add merchant headless checkout SDK support for 0.5.0 - #6

Merged
jamesw383 merged 2 commits into
mainfrom
development/headless-checkout-sdk
Nov 6, 2026
Merged

jamesw383 merged 2 commits into
mainfrom
development/headless-checkout-sdk

Conversation

@orangebtc

Copy link
Copy Markdown
Collaborator

Adds server-side headless checkout methods so merchants can display MakePay payment instructions on their own website: getPaymentOptions, createPaymentQuote, createPaymentInstructions, getPaymentSession, and cancelPaymentSession.

Quotes carry a session ID and quote version; funding and cancellation mutations require stable idempotency keys. Typed responses distinguish preparing requests from ready payment instructions, retain exact decimal amounts, identify the network/token/memo, and expose funding deadlines and payment progress. Existing transport, OAuth/DPoP, webhook, iframe-origin, and packaging protections are preserved.

Prepares 0.5.0 with changelog and integration guidance. Validated locally with build, runtime and type tests, exact package allowlist/secret inspection, and a clean production dependency audit. The matching merchant API is being released through CHASH-HOSTING/makeswap#1255; publish the immutable candidate only once that API is live and verified.

@jamesw383
jamesw383 self-requested a review November 6, 2026 20:26
@jamesw383
jamesw383 merged commit f9b138d into main Nov 6, 2026
3 checks passed
@jamesw383
jamesw383 deleted the development/headless-checkout-sdk branch November 6, 2026 20:27
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.

2 participants