List all payment methods¶
GET
https://api.mollie.com/v2/methods/all
Retrieve all payment methods that Mollie offers and can be activated by the Organization. The results are not paginated. New payment methods can be activated via the Enable payment method endpoint in the Profiles API.
Parameters¶
locale
stringoptionalPassing a locale will translate the payment method names in the corresponding language.
Possible values: en_US
en_GB
nl_NL
nl_BE
fr_FR
fr_BE
de_DE
de_AT
de_CH
es_ES
ca_ES
pt_PT
it_IT
nb_NO
sv_SE
fi_FI
da_DK
is_IS
hu_HU
pl_PL
lv_LV
lt_LT
amount
amount objectoptionalIf an amount is supplied, only payment methods that support the amount and currency are returned.
For example: https://api.mollie.com/v2/methods/all?amount[value]=100.00&amount[currency]=USD
currency
stringvalue
stringAccess token parameters¶
If you are using organization access tokens or are creating an
OAuth app, you have to specify which profile you are retrieving payment method details for
using the profileId
parameter. Organizations can have multiple profiles for each of their websites. See
Profiles API for more information.
pfl_3RkSN1zuPE
.Includes¶
This endpoint allows you to include additional information by appending the following values via the include
querystring parameter.
issuers
Include issuer details such as which iDEAL or gift card issuers are available.pricing
Include pricing for each payment method.
Example¶
1 2 | curl -X GET https://api.mollie.com/v2/methods/all \ -H "Authorization: Bearer test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM" |
1 2 3 4 5 | <?php $mollie = new \Mollie\Api\MollieApiClient(); $mollie->setApiKey("test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM"); $methods = $mollie->methods->allAvailable(); |
1 2 3 4 5 6 | from mollie.api.client import Client mollie_client = Client() mollie_client.set_api_key("test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM") methods = mollie_client.methods.all() |
1 2 3 4 5 6 7 | require 'mollie-api-ruby' Mollie::Client.configure do |config| config.api_key = 'test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM' end methods = Mollie::Method.all_available |
1 2 3 4 | We don't have a Node.js code example for this API call yet. If you have some time to spare, feel free to share suggestions on our Discord: https://discord.gg/VaTVkXB4aQ |
Response¶
200
application/hal+json
The response has the same elements as described in List payment methods.