Payment recovery dashboard-parity MCP tools (XDEV-2332 follow-up)#22
Closed
hookdump wants to merge 2 commits into
Closed
Payment recovery dashboard-parity MCP tools (XDEV-2332 follow-up)#22hookdump wants to merge 2 commits into
hookdump wants to merge 2 commits into
Conversation
update_recovery_email_offers, update_recovery_sms, add_recovery_email, remove_recovery_email, update_recovery_audience, list_recovery_audience_attributes, set_recovery_blueprint_enabled. update_recovery_email docs now carry the dashboard length limits and shared-schedule propagation notes. Deferred: exclusions, sendOnDate. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The API now rejects the filter without payment_recovery.campaigns.read_pii (it was an identity-existence oracle under the plain read scope). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This was referenced Jun 12, 2026
Contributor
Author
|
Superseded by #25 — [MCP reslice 2/2] @churnkey/mcp tool definitions (this tool is included there). Closing in favor of the reslice. |
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.
Stacked on #21. SDK half of churnkey/churnkey-api#884 — seven new tools closing the gap between the dashboard's payment recovery editor and the MCP surface.
New tools
update_recovery_email_offers— coupon (DISCOUNT) + one-time invoice discount (INVOICE_DISCOUNT,PERCENT≤100 /AMOUNT) per email;nullremoves; CTA auto-fill/reset and paired-SMS mirroring documented as dashboard parity.update_recovery_sms— SMS companion editing on the shared step guid: org feature gate, 160-text-char cap, dunning merge-field list, magic-link guidance, shared-schedule propagation.add_recovery_email/remove_recovery_email— sequence steps as email+SMS pairs; add inherits the last step one day later; remove is confirm-gated (remove_recovery_email) and destructive-flagged.update_recovery_audience+list_recovery_audience_attributes— rename + filter rules against the dunning palette; A/B-test lock and primary-campaign limitation documented.set_recovery_blueprint_enabled— confirm-gated, destructive-flagged; documents that it saves and publishes in one step like the dashboard toggle.update_recovery_email's schema now carries the dashboard length caps and notes thatsendOnDay/timeToSendmove the paired SMS.Deferred (dashboard-only, noted in README/CHANGELOG): exclusion lists, one-time
sendOnDatesends.Tests
8 new vitest cases (routing, confirm literals, annotation flags, null-to-remove semantics, name cap). Full suite 66/66;
tsc --noEmitclean.🤖 Generated with Claude Code