# `mix mishka_pay.stripe.check_version`
[🔗](https://github.com/mishka-group/mishka_pay/blob/v0.0.1/lib/mix/tasks/mishka_pay.stripe.check_version.ex#L5)

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.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
