livery_stripe_refund (livery_stripe v0.1.0)
View SourceStripe Refunds API.
Summary
Functions
-spec cancel(livery_client:client(), binary()) -> {ok, map()} | {error, term()}.
Cancel a refund still in the requires_action state.
-spec create(livery_client:client(), map() | list()) -> {ok, map()} | {error, term()}.
Refund a charge or PaymentIntent (Params carries payment_intent or charge).
Like create/2 with request options (idempotency_key, etc.).
-spec list(livery_client:client()) -> {ok, map()} | {error, term()}.
-spec list(livery_client:client(), map() | list()) -> {ok, map()} | {error, term()}.
-spec retrieve(livery_client:client(), binary()) -> {ok, map()} | {error, term()}.