Repository navigation
Crypto processing: partner guides for payment links, checkout and deposit addresses - #104
Open
coolkonstantincool wants to merge 21 commits into
Open
coolkonstantincool wants to merge 21 commits into
coolkonstantincool wants to merge 21 commits into
Conversation
… when callbacks are on, and states reuse and precision rules (SEC-DOCS-30, 33, 47, 49, 51) The tutorial made the HTTPS callback URL part of every allocate and lock, but the Bridge refuses any callback URL while GET /config reports maxCallbackUrlBytes 0 (production today) with validation_callback_url_invalid. It now reads /config first, signs "" when callbacks are unavailable and confirms through history. It also defines "Bridge" once; reassigns an address only after full payment and a 24-hour rest (the portal's and the integration guide's rule); says a failed lock after an unlock leaves the address without a memo; asks for BigInt on base-unit amounts; and notes that memoHash is public, so predictable references can be matched to their transfer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tus and cursor rule partners meet (SEC-DOCS-31, 32, 48, 49, 55; PORTAL-UI-COPY-25) Checked against relay-quote 8be48ab: - error tables: validation_callback_url_invalid, the memo text errors (validation_memo_too_long, _not_string, validation_text_not_well_formed), 413 for bodies over 32 KiB and 500 internal_error on memo and history routes; a new GET /transaction table (validation_invalid_quote_id, validation_invalid_log_index, 404 from_tx_not_found, 500 not_fetched with data []) and the GET /config not_fetched answer; - transaction status: all fields of intentStatusProjection and every status / subStatus value (types/intent.ts), with which ones are a credit; - memo-lock list: an omitted status returns every status, and an exactly full last page still returns a cursor (deposit-address-locks.ts nextBefore = locks.length === limit); - "Bridge" is defined in the intro; "scoped to the Bridge environment" says what it means; - the spec's note links the Bridge payment API page, and the changelog has a crypto payments entry. scripts/crypto-payments-docs.test.mjs pins these facts and the tutorial's callback rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eassignment sign a callback URL only when callbacks are on (SEC-DOCS-30) The tutorial already read GET /config first and signed callbackUrl "" when callbacks are off, but the reference's complete allocation example still said requests require a reachable HTTPS receiver and always signed a URL, and reassignment asked for "the new invoice reference and callback URL". While production publishes maxCallbackUrlBytes 0, a partner copying the example got 400 validation_callback_url_invalid. The example now reads memoLimits and webhookKeys from GET /config and signs the URL only when maxCallbackUrlBytes is above 0 and at least one key is published, else ""; the reassignment line says the same. Test: scripts/crypto-payments-docs.test.mjs (SEC-DOCS-30; fails on c2f7301). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… and deposit addresses Seven checkout guide pages generated from the site's integration guide (quickstart, embed, confirm, links, testing, reference, full guide); the payment addresses API reference without internal names; deadline times carry a zone; cross-links and changelog fixed; publish workflow covers the new pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…checkout and deposit addresses It promised payment webhooks and named the low-level API first; it now starts a partner at the checkout guide and keeps the payments API for special cases. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The server example waits for every network before building a link, signs 30 s inside the deadline limit, makes deposit pages safe to retry, and says that data-unigox-checkout links take no callbacks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…mple imports, Lock recovery) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Generated from unigox.com public/checkout-integration.md. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…read a log index Regenerated from the web guide after the second recheck of the audit fixes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
hallstain
marked this pull request as ready for review
December 2, 2026 07:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The partner documentation for Crypto processing: guides for invoicing, checkout on a site and deposit addresses, the crypto payments guide and the address-service reference, brought in line with the flows as they are built.
Important
Draft. The web side, with a recorded tour of every flow, is in the unigox.com pull request for the branch of the same name.
What is in it
18 commits, 22 files.
🤖 Generated with Claude Code