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

Link to this function

disable(client, method)

Specs

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

Link to this function

disable(client, id, method)

Specs

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

Link to this function

enable(client, method)

Specs

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

Link to this function

enable(client, id, method)

Specs

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