livery_stripe_app (livery_stripe v0.1.0)

View Source

Application callback.

Reads configuration (livery_stripe:config/0), and when a secret key is present builds the shared livery_client and caches it in persistent_term so the circuit breaker and concurrency gate are shared across every call. Without a key the app still starts; configure later with livery_stripe:configure/1.

Summary

Functions

start(StartType, StartArgs)

-spec start(application:start_type(), term()) -> {ok, pid()} | {error, term()}.

stop(State)

-spec stop(term()) -> ok.