pollExternalPayment

Added in MplusKASSA v11.3.0

Explanation of the event

The pollExternalPayment event is step two in a multi-step flow that involves the following events: (1) startExternalPayment, (2) pollExternalPayment, (3) requestCancelExternalPayment and (4) cancelExternalPayment.

pollExternalPayment An update on the running external payment was requested

request

POST https://www.example.com/webhooks/startExternalPayment

X-Mplus-Subscription-Id: example_subscription
X-Mplus-Signature: ...
Content-Type: application/json
Accept: application/json

{
    "externalPayment": {
        "externalPaymentId": "67d8b45a-37bd-4885-b41a-ffb285720654",
        "amount": 2.7,
        "method": "K_WEBHOOK"
    },
    ...
}
Property Type Explanation
externalPayment.amount number The amount that has to be paid
externalPayment.externalPaymentId uuid Each external payment receives a new id.
externalPayment.method string The name of the payment method that was configured to trigger the webhook.

response

See https://developers.mpluskassa.nl/webhooks/json-definitions/#externalPayment-response for possible response objects