Credit Refunds

How refunds work for failed generations

Credit Refunds

Overview

Credits are automatically refunded when generations fail. This guide explains how credit refunds work, when they occur, and how to verify refunds.

When Credits are Refunded

Automatic Refunds

Credits are automatically refunded when:

  1. Generation Fails: If a video or image generation fails
  2. Processing Timeout: If generation takes too long (typically 150+ minutes)
  3. System Errors: If platform errors cause generation to fail
  4. API Failures: If external service (AI model) fails

Refund Timing

  • Immediate: Refunds typically occur immediately when failure is detected
  • Automatic: No manual action required
  • Processing Time: May take a few minutes to appear in transaction history

How Refunds Work

Refund Process

  1. Generation Starts: Credits are deducted when you click "Generate"
  2. Generation Fails: System detects failure
  3. Automatic Refund: Credits are automatically refunded to workspace
  4. Transaction Record: Refund transaction is recorded in history
  5. Balance Update: Credit balance updates with refunded amount

Refund Amount

  • Full Refund: You receive the full amount of credits back
  • No Partial Refunds: All credits used for failed generation are refunded
  • Original Cost: Refund amount equals the original deduction amount

Viewing Refunds

Transaction History

  1. Access Transactions: Settings → Credits tab → Transactions sub-tab
  2. Filter Refunds: Use "Transaction Type" filter, select "Refund"
  3. View Details: Expand refund transactions to see details
  4. Verify Amount: Check that refund amount matches original deduction

Location: Settings → Credits → Transactions sub-tab, filter by "Refund" type.

Refund Transaction Display

Refund transactions show:

  • Title: Feature name (e.g., "Quick Video")
  • Type: "Refund" (with refresh/refund icon)
  • Amount: Positive amount (credits refunded)
  • Status: "Completed" (when refund processed)
  • Date: When refund occurred
  • Details: What was refunded and why

Credit Summary

When you expand a refund transaction, you'll see:

  • Balance Before: Credit balance before refund
  • Action: "Refunded X credits" with reason
  • New Balance: Updated balance after refund

Refund Reasons

Common Refund Reasons

  1. Generation Failure: AI model failed to generate content
  2. Processing Timeout: Generation exceeded time limits
  3. System Error: Platform or service error
  4. Invalid Input: Input parameters caused generation to fail
  5. Service Unavailable: External AI service unavailable

Understanding Refund Messages

Refund transactions include error messages explaining why the refund occurred:

  • Technical Errors: Service or API failures
  • Timeout Errors: Generation took too long
  • Validation Errors: Input issues that prevented generation
  • System Errors: Platform infrastructure issues

Failed Generation Detection

Automatic Detection

The platform automatically detects failed generations through:

  1. Status Monitoring: Tracks generation status
  2. Timeout Detection: Monitors generation duration
  3. Error Logging: Records errors and failures
  4. Cron Jobs: Periodic checks for stuck/failed generations

Timeout Threshold

  • Standard Timeout: 150 minutes (2.5 hours)
  • Automatic Marking: Generations exceeding timeout are marked as failed
  • Automatic Refund: Credits refunded when timeout detected

Verification

Checking for Refunds

  1. Review Failed Generations: Check generation history for failed items
  2. Check Transactions: Look for refund transactions in credit history
  3. Verify Balance: Ensure credit balance increased appropriately
  4. Match Amounts: Verify refund amount matches original deduction

What to Check

  • Refund Presence: Is there a refund transaction for the failed generation?
  • Refund Amount: Does refund match the original deduction?
  • Balance Update: Did your credit balance increase by refund amount?
  • Transaction Status: Is refund status "Completed"?

Best Practices

Monitor Generations

  • Check Status: Regularly check generation status
  • Review Failures: Review failed generations to understand issues
  • Verify Refunds: Confirm refunds are processed for failures
  • Report Issues: Contact support if refunds don't occur

Understand Failures

  • Common Causes: Learn common causes of generation failures
  • Prevent Failures: Optimize inputs to reduce failure rates
  • Retry Strategy: Retry failed generations if appropriate
  • Contact Support: Reach out if failures seem unusual

Track Refunds

  • Regular Review: Periodically review refund transactions
  • Monitor Patterns: Identify patterns in failures and refunds
  • Budget Planning: Account for potential refunds in credit planning
  • Optimize Usage: Reduce failures to minimize refund processing

Troubleshooting

Refund Not Received

  • Check Status: Verify generation actually failed
  • Wait for Processing: Refunds may take a few minutes
  • Check Transactions: Look in transaction history for refund
  • Verify Balance: Check if balance updated
  • Contact Support: If refund doesn't appear after reasonable time

Incorrect Refund Amount

  • Review Original: Check original deduction amount
  • Compare Amounts: Verify refund matches deduction
  • Check Details: Expand transaction to see full details
  • Contact Support: If amounts don't match

Refund Status Issues

  • Pending Status: Refund may be processing (wait a few minutes)
  • Failed Status: Refund failed (contact support)
  • Check Error: Review error messages in transaction details
  • Retry: System may retry failed refunds automatically

Examples

Successful Refund

Original Transaction:

  • Type: Usage
  • Feature: Quick Video
  • Amount: -12 credits
  • Status: Failed

Refund Transaction:

  • Type: Refund
  • Feature: Quick Video
  • Amount: +12 credits
  • Status: Completed
  • Result: Full 12 credits refunded to workspace

Timeout Refund

Scenario: Generation took 160 minutes (exceeded 150-minute limit)

Process:

  1. Generation marked as failed (timeout)
  2. Credits automatically refunded
  3. Refund transaction recorded
  4. Credit balance updated

Result: Full credits refunded, can retry generation

  • Understanding Credits: Learn about the credit system
  • Credit Transactions: View refund history
  • Credit Costs: Understand original costs
  • Troubleshooting: Resolve generation failures