Mollie.Profiles.Methods (mollie v0.7.2)
Enable or disable a payment method on a specific profile to use it with payments
Link to this section Summary
Functions
Disables the payment method on the provided profile.
Disables the payment method on the provided profile.
Enables the payment method for the profile of the authenticated API key.
Enables the payment method on the provided profile. This API is idempotent.
Link to this section Functions
disable(client, method)
Specs
disable(Mollie.Client.t(), binary()) :: Mollie.response()
Disables the payment method on the provided profile.
This API is only available if authenticated using an API key.
example
Example
Mollie.Profiles.Methods.disable client, "ideal"
More info at: https://docs.mollie.com/reference/v2/profiles-api/enable-method
disable(client, id, method)
Specs
disable(Mollie.Client.t(), binary(), binary()) :: Mollie.response()
Disables the payment method on the provided profile.
example
Example
Mollie.Profiles.Methods.disable client, "pfl_v9hTwCvYqw", "ideal"
More info at: https://docs.mollie.com/reference/v2/profiles-api/disable-method
enable(client, method)
Specs
enable(Mollie.Client.t(), binary()) :: Mollie.response()
Enables the payment method for the profile of the authenticated API key.
This API is only available if authenticated using an API key.
This API is idempotent.
example
Example
Mollie.Profiles.Methods.enable client, "ideal"
More info at: https://docs.mollie.com/reference/v2/profiles-api/enable-method
enable(client, id, method)
Specs
enable(Mollie.Client.t(), binary(), binary()) :: Mollie.response()
Enables the payment method on the provided profile. This API is idempotent.
example
Example
Mollie.Profiles.Methods.enable client, "pfl_v9hTwCvYqw", "ideal"
More info at: https://docs.mollie.com/reference/v2/profiles-api/enable-method