# `MishkaPay.Ash.Subscription.Sync`
[🔗](https://github.com/mishka-group/mishka_pay/blob/v0.0.1/lib/mishka_pay/ash/__subscription/sync.ex#L6)

Reads a subscription from its provider before the action's transaction starts and writes what
the provider said; after the transaction, fires `mishka_pay:subscription:changed`. A
subscription the provider cannot give is an error on the action, and nothing is written.

---

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