Enrollments
Enrollment Status Updated
Sent when an enrollment's status changes. Delivered to a configured webhook endpoint (webhooksUrl): the merchant's, or the one given on the enrollment request. Subscription/registration of that endpoint is out of scope for this page.
postWebhookenrollmentStatusUpdated
Payload
Example payload
{
"specversion": "1.0.2",
"id": "evt_abcdefghijklmno123456",
"source": "https://www.ppro.com",
"subject": "MIDNITH123",
"datacontenttype": "application/json",
"data": {
"enrollmentId": "enrollment_lUj4DR28ygrIgcuhhdZZa",
"merchantId": "MERCHANTID456",
"externalMerchantReference": "ENTITY1234567890",
"paymentMethod": "TWINT",
"currentStatus": {
"status": "ACTIVE",
"statusReason": {
"reasonType": "PROVIDER_DECLINE",
"reasonCode": "GENERIC_DECLINE",
"reasonMessage": "enrollment declined"
}
}
}
}Response
Webhook received.
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.