Skip to documentation content

Payment evidence and optional observations

Use the connected Stripe integration for payment confirmation and distinguish optional merchant observations from qualification evidence.

On this page

Use connected Stripe payment evidence

Carden confirms Stripe payment state from signed snapshot events delivered to the Carden endpoint configured in the merchant's Stripe Dashboard. It verifies each delivery signature, retains the event and payment snapshots, and reconciles captured, refunded, failed, and disputed activity. The webhook connection needs the endpoint signing secret, not Stripe OAuth authorization or a Stripe API key. It does not import historical charges, Balance Transactions, or fee reports.

The preparation API returns enrichment fields for the merchant's existing payment call; webhook payment confirmation is independent of that preparation. Existing report APIs remain available for optional application observations. Square currently supports those observations without an inbound Carden Square webhook.

Keep payment and observation identities distinct

Use the merchant account and Carden environment, webhook endpoint and event IDs, Charge ID, and PaymentIntent ID when available to correlate signed provider evidence. Balance Transaction IDs and fee records require a separate settlement evidence source; they are not retrieved by this webhook. Keep preparation.id, snapshotId, revision, and diagnostic request ID when enrichment was prepared from an invoice.

Optional report valueLifetimeUse
attemptIdOne actual payment attemptAuthorization, capture, refund, cancellation, and failure observations reuse it.
eventIdOne immutable observationRetry keeps the ID and body; later state gets a new event.
providerEventIdOne provider eventLinks an observation to a provider event verified by the merchant.
enrichmentRequestIdOne preparationUse preparation.id for linked source, request ID for inline when available, or omit for an observation without enrichment.

Optional report deduplication is scoped to organization, integration, and environment. A duplicate acknowledgment never updates an accepted payload. Observation identities do not replace signed Stripe webhook evidence.

Separate payment state from qualification

EvidenceWhat it establishesLimit
Signed Stripe webhook eventA Stripe event was delivered to Carden and passed signature and mode checks.Delivery verification alone does not confirm capture or network qualification.
Webhook Charge / PaymentIntentCaptured, refunded, failed, or disputed payment activity when the signed snapshot contains the relevant facts.Payment activity does not prove enhanced-data qualification or settlement costs.
Separate settlement or fee evidenceNetwork cost and qualification signals when the merchant or processor supplies them.Not imported by webhook setup; an aggregate fee alone does not establish a savings baseline.
Optional payment reportAn authenticated merchant service submitted an observation.It is neither signed Stripe confirmation nor verified savings.

Review endpoint state, last event time, recent event statuses, and captured-payment count before drawing conclusions. Keep network qualification separate from authorization, capture, or refund state. Any savings claim needs separate actual settlement cost, an evidenced counterfactual, and reproducible calculation.

Handle optional observation responses

If you choose to use an existing report API, send only factual normalized fields with payments:write. Handle its response independently of provider execution; no additional merchant delivery infrastructure is required for webhook payment confirmation.

ResultAction
Valid 2xxThe observation was accepted; duplicate: true acknowledges the same event.
Timeout / connectionAcceptance may be unknown; a retry uses the same event ID and body.
408 / 429 / 5xxUse bounded backoff if retrying; honor Retry-After when present.
401 / 403Repair credentials or permissions before another observation request.
400 / 422Correct factual fields; do not retry unchanged indefinitely.
409Reconcile immutable identity and known cumulative facts.
Malformed successRetain safe diagnostics and investigate the response.

Reconcile later and out-of-order states

Signed Stripe webhook events can arrive out of order or after checkout has progressed. Use Stripe directly for immediate decisions or ambiguous payment outcomes, then review Carden's received event and payment evidence when delivery is complete.

Merchants that also submit optional observations from their own Stripe or Square webhook handlers verify provider signatures before using source: merchant_webhook. Those observations are distinct from the signed Stripe deliveries sent directly to Carden. Use actual occurredAt and cumulative amounts; keep unknown outcomes unresolved until provider evidence establishes them.

Test evidence coverage and optional observations

  • Confirm the Stripe webhook endpoint uses the intended Stripe account and environment, and that the recommended event list is selected.
  • Compare received event activity with Stripe directly for a payment inside the recent delivery window.
  • Check recent event timestamps, recent event statuses, and captured-payment count before drawing conclusions.
  • Keep webhook payment confirmation separate from indeterminate network qualification and unverified savings.
  • If using observation APIs, exercise duplicate acknowledgments, credential rotation, and ambiguous responses.
  • Confirm Carden unavailability never repeats a provider payment.