FAQShared
When an API Shuts Down: Access and Refund Handling
What happens to subscriptions, API keys, billing cycles, and refund calculations when an API is shut down.
Last updated Apr 17, 2026
What happens when an API is shut down
ThailandAPI includes a shutdown flow for APIs that need to stop serving subscribers.
What the system does first
- Active, trialing, and past-due subscriptions for that API are cancelled
- Auto-renew is turned off
- Associated API keys are revoked
- The current subscription period is ended at shutdown time
What happens to billing
- The platform reviews the latest successful billing record for each affected subscription
- If the subscription still has unused time in the current period, the system calculates a prorated refund amount
- The calculation is based on the remaining time between the current period start and end
Important detail for providers
- The shutdown flow also creates an internal refund reserve against the latest transaction when applicable
- The provider-side reserve includes the refund amount plus processing overhead used by the platform
- This helps the finance workflow account for shutdown-related refunds consistently
Important detail for subscribers
- Access does not continue until the original period end once the API shutdown flow has been applied
- The most reliable references are your subscription status, revoked API keys, and payment history
- If a refund is being handled, payment records and support communication should be reviewed together
When to contact support
- Access ended but you are unsure which subscription was affected
- You need confirmation about prorated refund handling
- The payment record does not match the shutdown you experienced
- You need clarification on a specific billing period or charge
Operational takeaway
API shutdowns affect access first and billing second. The platform records the shutdown state immediately, then follows the related billing and refund handling workflow for impacted subscriptions.