Step 1 with building API check if available in region

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the workflows category.

Last Updated: 2022-12-01

I wrote the Stripe SEPA management code for Project S, only to discover at the last possible step, that SEPA wasn't available to our account yet. In reality, this code might never have gotten used because the client decided CC was good enough.


The first step, when asked to build something based on an API, is to check if the feature needs enabling, then try enabling it. If that fails, abort the coding process.