This webhook triggers when the state of a customer product changed
{
"id":"674670ef4c444efcac88ebae4184e4d4",
"action":"customer-product-changed",
"products": ["crypto_receive"],
"customer":{
"id":"585fbdc4f9f311ea96a90242ac140006",
"created_at":"2020-09-01T11:28:59+00:00",
"reference_id":"AA24053066",
"state":"active",
"profile":{
"label":"jcpetella",
"first_name":"Juan",
"middle_name":"Carlos",
"last_name":"Petella",
"date_of_birth":"1974-08-09",
"national_id_country":"AR",
"national_id_type":"national_id",
"national_id":"24053066",
"citizenship":"AR",
"address_line1":"1234 Any St",
"address_line2":"Apt. C",
"city":"Buenos Aires",
"state":"CABA",
"country":"AR",
"zip_code":"1430"
},
"contact":{
"email":"[email protected]",
"cellphone":"+5491156668452"
},
"products":[
{
"id":"crypto_buy_sell",
"active":true,
"enabled":true
},
{
"id":"crypto_receive",
"active":true,
"enabled":true
},
{
"id":"crypto_send",
"active":true,
"enabled":true
}
],
"data_requirements":[
{
"id":"document_id_back",
"created":"2020-09-01T11:28:59+00:00",
"type":"document",
"document_type":"id_back",
"status":"approved",
"last_updated_at":"2020-09-01T13:12:32+00:00",
"submitted_at":"2020-09-01T11:31:46+00:00"
},
{
"id":"document_id_front",
"created":"2020-09-01T11:28:59+00:00",
"type":"document",
"document_type":"id_front",
"status":"approved",
"last_updated_at":"2020-09-01T13:12:32+00:00",
"submitted_at":"2020-09-01T11:31:46+00:00"
},
{
"id":"document_proof_of_address",
"created":"2020-09-01T11:28:59+00:00",
"type":"document",
"document_type":"proof_of_address",
"status":"approved",
"last_updated_at":"2020-09-01T13:12:32+00:00",
"submitted_at":"2020-09-01T11:31:46+00:00"
},
{
"id":"document_selfie",
"created":"2020-09-01T11:28:59+00:00",
"type":"document",
"document_type":"selfie",
"status":"approved",
"last_updated_at":"2020-09-01T13:12:32+00:00",
"submitted_at":"2020-09-01T11:31:46+00:00"
}
]
}
}