Get payment method

Methods API v1

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.

GEThttps://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.

includestringrequired
Include additional data. Must be a comma-separated list of one or more includes.
localestringoptional

Passing 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.

profileIdstringrequired
testmodebooleanoptional

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

resourcestring
Indicates the response contains a payment method object. Will always contain method for this endpoint.
idstring
The identifier uniquely referring to this payment method. When supplying this ID as the method parameter during payment creation, the payment method selection screen is skipped.
descriptionstring
The full name of the payment method.
amountobject

The minimum and maximum allowed payment amount will differ between payment methods.

Show child parameters

minimumdecimal
The minimum payment amount in EUR required to use this payment method.
maximumdecimal
The maximum payment amount in EUR allowed when using this payment method. For gift cards, the maximum amount may be ignored.
imageobject

URLs of images representing the payment method.

Show child parameters

normalstring
The URL for a payment method icon of 55x37 pixels.
biggerstring
The URL for a payment method icon of 110x74 pixels.

Example

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"
    }
}