livery_stripe_payment_method (livery_stripe v0.1.0)
View SourceStripe PaymentMethods API.
Summary
Functions
Attach a payment method to a customer (Params carries customer).
List payment methods; Params should carry customer and type.
Functions
Attach a payment method to a customer (Params carries customer).
-spec detach(livery_client:client(), binary()) -> {ok, map()} | {error, term()}.
-spec list(livery_client:client(), map() | list()) -> {ok, map()} | {error, term()}.
List payment methods; Params should carry customer and type.
-spec retrieve(livery_client:client(), binary()) -> {ok, map()} | {error, term()}.