chore: document current webhook delivery - #132
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
b37f4f9 to
99ee7ae
Compare
Greptile SummaryThe PR reorganizes webhook documentation around current Secure Payment, KYT, hosted-onboarding, and orchestrator delivery behavior.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart LR
E[Webhook event] --> T{Event type}
T -->|client_id.linked| O[Linked orchestrator endpoint]
T -->|payment.confirmed / KYT completed / user event| B[Client ID and linked orchestrator endpoints]
T -->|payment.failed / access rejected| C[Client ID endpoint]
B --> S[Each registration verifies with its own signing secret]
C --> S
O --> S
Reviews (3): Last reviewed commit: "chore: document current webhook delivery" | Re-trigger Greptile |
99ee7ae to
ff1fc71
Compare
|
@greptile-apps The credentials and callback hosts deliberately use explicit placeholders: every Client ID and callback URL is account-specific, and an orchestrator key is a secret. The examples retain the required |
|
That makes sense. Since the Client ID, callback URL, and orchestrator key are account-specific or secret, explicit placeholders are the safer choice. Retaining the |
|
@greptile-apps Please refresh the review for the current head ( |
ff1fc71 to
05f8bd3
Compare

Problem
The webhook reference mixes current Secure Payment and orchestrator events with older API-only events. It does not clearly show whether an event reaches a platform's Client ID, its linked orchestrator, or both, or how payload identity fields are populated.
REQ-420
Proposed Solution
Design Rationale
The API reference is the technical contract for webhook registration, routing, and payloads. The other pages summarize it and link back instead of maintaining separate event catalogs.
Considerations
staging. The docs should merge only after those behaviors are part of the public API release.payment.failedandsecure_payment.access_rejectedremain Client-ID-only.client_id.linkedremains a hosted-onboarding event.UAT
payment.confirmed,kyt.screening.completed,secure_payment.user_event, andsecure_payment.access_rejectedexamples. They should showclientIdandorchestratorIdfor an orchestrated Secure Payment.