Enable payment method
Changed onEnable a payment method on a specific profile.
When using a profile-specific API credential, the alias me can be used instead of the profile ID to refer to the current profile.
Some payment methods require extra steps in order to be activated. In cases where a step at the payment method provider needs to be completed first, the status will be set to pending-external and the response will contain a link to complete the activation at the provider.
To enable voucher or gift card issuers, refer to the Enable payment method issuer endpoint.
Request
- Base URLhttps://api.mollie.com
- URLhttps://api.mollie.com/v2/profiles/{profileId}/methods/{methodId}
- Auth
- HTTP bearer
- or HTTP bearer
- or OAuth 2Authorization code: https://my.mollie.com/oauth2/authorizeToken URL: https://api.mollie.com/oauth2/tokens scopes: profiles.write
Headers
A unique key to ensure idempotent requests. This key should be a UUID v4 string.
Response
The payment method object.
Example response
{
"resource": "method",
"id": "ideal",
"description": "iDeal",
"minimumAmount": {
"currency": "EUR",
"value": "10.00"
},
"maximumAmount": {
"currency": "EUR",
"value": "10.00"
},
"image": {
"size1x": "https://...",
"size2x": "https://...",
"svg": "https://..."
},
"status": "activated",
"issuers": [
{
"resource": "issuer",
"id": "ideal_ABNANL2A",
"name": "ING Bank",
"image": {
"size1x": "https://...",
"size2x": "https://...",
"svg": "https://..."
}
}
],
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Changes
- warning
added the new
undefinedenum value to the/////response property for the response status
- warning
- breaking
removed the success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking