Get payment method¶
Warning
The v1 API has been deprecated. The v1 API will be supported for the foreseeable future, at least until July 2023. However, new features will only be added to the v2 API.
The documentation for retrieving payment methods in the new v2 API can be found here. For more information on the v2 API, refer to our v2 migration guide.
GET
https://api.mollie.com/v1/methods/*id*
Retrieve a payment method object by its payment method identifier.
Parameters¶
Replace id
in the endpoint URL by the payment method’s ID, for example creditcard
.
include
stringrequiredlocale
stringoptionalPassing a locale will translate the payment method name to 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
Access token parameters¶
If you are using organization access tokens or are creating an
OAuth app, the only mandatory extra query string parameter is the profileId
parameter.
With it, you can specify which profile you want to retrieve a method for. 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 if available, for instance for the iDEAL or gift card payment methods.
Response¶
200
application/json
resource
stringmethod
for this endpoint.id
stringmethod
parameter
during payment creation, the payment method selection screen is
skipped.description
stringamount
objectThe minimum and maximum allowed payment amount will differ between payment methods.
minimum
decimalmaximum
decimalimage
objectURLs of images representing the payment method.
normal
stringbigger
stringExample¶
Request¶
1 2 | curl -X GET https://api.mollie.com/v1/methods/creditcard \ -H "Authorization: Bearer test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM" |
Response¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | HTTP/1.1 200 OK Content-Type: application/json { "resource": "method", "id": "creditcard", "description": "Credit card", "amount": { "minimum": "0.31", "maximum": "10000.00" }, "image": { "normal": "https://www.mollie.com/images/payscreen/methods/creditcard.png", "bigger": "https://www.mollie.com/images/payscreen/methods/creditcard%402x.png" } } |