Update a webhook
Changed onUpdates the webhook. You may edit the name, url and the list of subscribed event types.
Request
- Base URLhttps://api.mollie.com
- URLhttps://api.mollie.com/v2/webhooks/{webhookId}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://my.mollie.com/oauth2/authorizeToken URL: https://api.mollie.com/oauth2/tokens scopes: webhooks.write
Headers
A unique key to ensure idempotent requests. This key should be a UUID v4 string.
Request body
Example request
{
"name": "Webhook #1",
"url": "https://mollie.com/",
"eventTypes": [
"payment-link.paid"
]
}Response
The webhook object.
Example response
{
"resource": "webhook",
"id": "hook_tNP6fpF9fLJpFWziRcgiH",
"url": "https://example.com/webhook-endpoint",
"profileId": "pfl_YyoaNFjtHc",
"createdAt": "2023-03-15T10:00:00+00:00",
"name": "Profile Updates Webhook",
"eventTypes": [
"profile.create",
"profile.blocked"
],
"status": "enabled",
"mode": "live",
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Changes
- warning
added the new
unmatched-credit-transfer.expiredenum value to the/response property for the response status - warning
added the new
unmatched-credit-transfer.match.completedenum value to the/response property for the response status - warning
added the new
unmatched-credit-transfer.match.failedenum value to the/response property for the response status - warning
added the new
unmatched-credit-transfer.matchedenum value to the/response property for the response status - warning
added the new
unmatched-credit-transfer.return.completedenum value to the/response property for the response status - warning
added the new
unmatched-credit-transfer.return.failedenum value to the/response property for the response status - warning
added the new
unmatched-credit-transfer.returnedenum value to the/response property for the response status - info
added the new
unmatched-credit-transfer.expiredenum value to the request property//// - info
added the new
unmatched-credit-transfer.expiredenum value to the request property// - info
added the new
unmatched-credit-transfer.match.completedenum value to the request property//// - info
added the new
unmatched-credit-transfer.match.completedenum value to the request property// - info
added the new
unmatched-credit-transfer.match.failedenum value to the request property//// - info
added the new
unmatched-credit-transfer.match.failedenum value to the request property// - info
added the new
unmatched-credit-transfer.matchedenum value to the request property//// - info
added the new
unmatched-credit-transfer.matchedenum value to the request property// - info
added the new
unmatched-credit-transfer.return.completedenum value to the request property//// - info
added the new
unmatched-credit-transfer.return.completedenum value to the request property// - info
added the new
unmatched-credit-transfer.return.failedenum value to the request property//// - info
added the new
unmatched-credit-transfer.return.failedenum value to the request property// - info
added the new
unmatched-credit-transfer.returnedenum value to the request property//// - info
added the new
unmatched-credit-transfer.returnedenum value to the request property//
- warning
- warning
added the new
unmatched-credit-transfer.receivedenum value to the/response property for the response status - info
added the new
unmatched-credit-transfer.receivedenum value to the request property//// - info
added the new
unmatched-credit-transfer.receivedenum value to the request property//
- warning