mix pin_stripe.sync_api_version (PinStripe v0.3.1)

View Source

Detects your Stripe account's API version and updates fixtures accordingly.

When your Stripe account upgrades to a new API version, this task will:

  1. Detect the new API version from your account
  2. Compare with the cached version in .api_version
  3. If different, update .api_version and clear all fixtures
  4. Fixtures will regenerate with the new version on next test run

Examples

# Sync API version
mix pin_stripe.sync_api_version

Requirements

  • Stripe CLI installed and authenticated
  • Test mode API key configured