# Custom Event Data source: https://developer.mastercard.com/open-finance-us/documentation/webhooks/webhooks-connect/webhooks-custom/index.md There are two different objects you can use to receive information while the customer is interacting in a Mastercard Data Connect or Joint Borrower session on a mobile app or web pages. * [webhookData Object](https://developer.mastercard.com/open-finance-us/documentation/webhooks/webhooks-connect/webhooks-custom/index.md#webhookdata-object) * [webhookHeaders Object](https://developer.mastercard.com/open-finance-us/documentation/webhooks/webhooks-connect/webhooks-custom/index.md#webhookheaders-object) ## webhookData Object {#webhookdata-object} If you pass the `webhookData` object in the [Generate Data Connect URL APIs](https://developer.mastercard.com/open-finance-us/documentation/connect/generate-2-connect-url-apis/index.md), you'll receive the object back in the body for all other Data Connect event types. **Example:** Pass the `webhookData` object in a Generate Data Connect URL call to receive the `started` event notification. * JSON ```JSON "webhookData": { "uniqueCustomerId": "123456789", "uniqueRequestId": "234567890" } ``` * JSON ```JSON { "customerId":"1005061234", "consumerId":"86238nvnw7269e224a4e3de12352d87d", "eventType":"started", "eventId":"1495468585434-0e73d1719173766fe4dfe1a8", "payload":{}, "webhookData": { "uniqueCustomerId": "123456789", "uniqueRequestId": "234567890" } } ``` ## webhookHeaders Object {#webhookheaders-object} Passing the `webhookHeaders` object provides similar custom return behavior for every webhook event. However, it returns the results in the header instead of the body of the event. * JSON ```JSON "webhookHeaders": { "webhookServerKey": "sadf67ewrkh", "webhookCustomerSignature": "91l;kj234924987lj" } ```
* JSON ```JSON { "partnerId": "PARTNER_ID", "customerId": "CUSTOMER_ID", "type": "aggregation", "webhookData": { "uniqueCustomerId": "123456789", "uniqueRequestId": "234567890" }, "webhookHeaders": { "webhookServerKey": "sadf67ewrkh", "webhookCustomerSignature": "91l;kj234924987lj" } } ``` For details of the events for Report webhooks see [Data Connect Report Events](https://developer.mastercard.com/open-finance-us/documentation/webhooks/webhooks-report/report-webhooks-dc/index.md).