Skip to main content

Data Retention

Orchestrapay automatically purges and archives data on a daily basis to keep the platform performant. This page describes what is retained, for how long, and what happens to it afterwards.

Retention periods

ResourceRetention in live databaseNotes
Webhooks30 daysAll webhook delivery records, including retries
Canceled payments90 daysAll canceled_* statuses (see below)
Card attempts90 daysPurged together with their parent payment
Refunds on canceled payments90 daysPurged together with their parent payment
Payment Intents90 days
Successful paymentsIndefinitelyNever purged from the live database

Canceled payment statuses

The following statuses are subject to the 90-day retention window:

  • canceled
  • canceled_failure
  • canceled_rejected
  • canceled_timeout
  • canceled_timeout_e2e
  • canceled_timeout_refund_e2e

Impact on API responses

Fetching a canceled payment or webhook delivery record via the API after its retention window will return a 404 Not Found. Successful payments are never affected.

If you need access to historical data beyond the retention window, contact support.