mix mishka_pay.stripe.check_version (Mishka Pay v0.0.1)

Copy Markdown View Source

Compares the Stripe API version every request is pinned to (MishkaPay.Providers.Stripe.version/0) with the version of Stripe's newest published OpenAPI spec (MishkaPay.Providers.Stripe.latest_version/0). It fails when they differ, so a scheduled CI job notices when Stripe moves; then read https://docs.stripe.com/changelog, move the pin and run the tests against Stripe.

mix mishka_pay.stripe.check_version

It needs no keys and reads only the first bytes of the spec.