Customer mergedWebhook

SecurityAPI Key: SecretApiKey or HTTP: JWT
Request
Request Body schema: application/json

Merged customer webhook request body resource.

targetCustomerId
string <= 50 characters

ID of the customer that contains the merged data.

eventType
string

Type of webhook event.

Value: "customer-merged"
object (Customer)

Customer information.

object

Customer object.

Array of objects

Related links.

Request samples
application/json
{ "targetCustomerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF", "eventType": "customer-merged", "duplicatedCustomer": { "id": "cus_0YV7DDSDD1C8DA64KHH2W33CPF", "email": "user@example.com", "firstName": "string", "lastName": "string", "websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "paymentCount": 0, "lastPaymentTime": "2019-08-24T14:15:22Z", "invoiceCount": 0, "revision": 0, "isEddRequired": false, "hasFulfilledKyc": true, "organizationId": "org_0YVDM8RC7GDADADSBSMW124JA8", }, "_embedded": { }, "_links": [ ] }
Responses

2xx

Returns any 2xx status to indicate that data is received.