Webhooks API

Create a webhook

A webhook must have a name, an url and a list of event types. You can also create webhooks in the webhooks settings section of the Dashboard.

post/v2/webhooks

Headers

idempotency-keystring
Example:123e4567-e89b-12d3-a456-426

A unique key to ensure idempotent requests. This key should be a UUID v4 string.

Request body

namestring required

A name that identifies the webhook.

urlstring required

The URL Mollie will send the events to. This URL must be publicly accessible.

testmodeboolean

Whether to create the entity in test mode or live mode.

You can enable test mode by setting testmode to true.

Example request

{
  "name": "Webhook #1",
  "url": "https://mollie.com/",
  "eventTypes": [
    "payment-link.paid"
  ]
}

Response

The webhook object.

Changes

Changed in 9 of the 92 revisions of this API.2961

  • 26176035db58714See the full diff
    • ●

      added the new unmatched-credit-transfer.expired enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new unmatched-credit-transfer.match.completed enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new unmatched-credit-transfer.match.failed enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new unmatched-credit-transfer.matched enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new unmatched-credit-transfer.return.completed enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new unmatched-credit-transfer.return.failed enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new unmatched-credit-transfer.returned enum value to the / response property for the response status

      response-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.expired enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.expired enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.match.completed enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.match.completed enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.match.failed enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.match.failed enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.matched enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.matched enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.return.completed enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.return.completed enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.return.failed enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.return.failed enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.returned enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.returned enum value to the request property //

      request-property-enum-value-added

  • 7eb5bf6b29dd12See the full diff
    • ●

      added the new unmatched-credit-transfer.received enum value to the / response property for the response status

      response-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.received enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new unmatched-credit-transfer.received enum value to the request property //

      request-property-enum-value-added

  • 72604f3ea2bb36See the full diff
    • ●

      added the new business-account-draft-transfer.approved enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new business-account-draft-transfer.created enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new business-account-draft-transfer.declined enum value to the / response property for the response status

      response-property-enum-value-added

    • ○

      added the new business-account-draft-transfer.approved enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new business-account-draft-transfer.approved enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new business-account-draft-transfer.created enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new business-account-draft-transfer.created enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new business-account-draft-transfer.declined enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new business-account-draft-transfer.declined enum value to the request property //

      request-property-enum-value-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ●

      added the new capture.failed enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new capture.succeeded enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new chargeback.received enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new chargeback.reversed enum value to the / response property for the response status

      response-property-enum-value-added

    • ○

      added the new capture.failed enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new capture.failed enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new capture.succeeded enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new capture.succeeded enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new chargeback.received enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new chargeback.received enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new chargeback.reversed enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new chargeback.reversed enum value to the request property //

      request-property-enum-value-added

  • 19c365c4aee424See the full diff
    • ●

      added the new sales-invoice.e-invoice-failed enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new sales-invoice.e-invoice-issued enum value to the / response property for the response status

      response-property-enum-value-added

    • ○

      added the new sales-invoice.e-invoice-failed enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new sales-invoice.e-invoice-failed enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new sales-invoice.e-invoice-issued enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new sales-invoice.e-invoice-issued enum value to the request property //

      request-property-enum-value-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

  • f5e0eb3b7313510See the full diff
    • ●

      added the new payout.canceled enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new payout.completed enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new payout.failed enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new payout.initiated enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new payout.processing-at-bank enum value to the / response property for the response status

      response-property-enum-value-added

    • ○

      added the new payout.canceled enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new payout.canceled enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new payout.completed enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new payout.completed enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new payout.failed enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new payout.failed enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new payout.initiated enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new payout.initiated enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new payout.processing-at-bank enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new payout.processing-at-bank enum value to the request property //

      request-property-enum-value-added

    • ○

      the endpoint scheme security advancedAccessToken was added to the API

      api-security-added

    • ○

      the endpoint scheme security organizationAccessToken was removed from the API

      api-security-removed

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • e5af12275c86714See the full diff
    • ●

      added the new business-account-transfer.blocked enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new business-account-transfer.failed enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new business-account-transfer.initiated enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new business-account-transfer.pending-review enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new business-account-transfer.processed enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new business-account-transfer.requested enum value to the / response property for the response status

      response-property-enum-value-added

    • ●

      added the new business-account-transfer.returned enum value to the / response property for the response status

      response-property-enum-value-added

    • ○

      added the new business-account-transfer.blocked enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new business-account-transfer.blocked enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new business-account-transfer.failed enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new business-account-transfer.failed enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new business-account-transfer.initiated enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new business-account-transfer.initiated enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new business-account-transfer.pending-review enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new business-account-transfer.pending-review enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new business-account-transfer.processed enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new business-account-transfer.processed enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new business-account-transfer.requested enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new business-account-transfer.requested enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new business-account-transfer.returned enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new business-account-transfer.returned enum value to the request property //

      request-property-enum-value-added

Of the 92 revisions, 9 have no diff computed.