Keeping your Stripe-using application working no matter when and to what the account owner changes the API version

Started looking for “drupal how to print warnings in composer update” but fortunately there seems to be a better way:

stripe programmatically check API version


(From now on i’m preventing this problem from happening again by explicitly sending the Stribe-Version header, an essential option that i think should be highlighted much more emphatically in the developer and API documentation. I was very glad to have found this blog post - - but wish i had known it from the start of my developing with the Stripe API.)