Customer product changed
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",
"type":"individual",
"domain_status":"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":[
{
"code":"crypto_buy_sell",
"active":true,
"enabled":true
},
{
"code":"crypto_receive",
"active":true,
"enabled":true
},
{
"code":"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"
}
],
"documents":[
{
"id":"9f1c2b7ae4d3401aa1b6c8d90e5f4321",
"created":"2020-09-01T11:31:46+00:00",
"type":"id_back",
"data_requirement_id":"document_id_back"
},
{
"id":"43bc909c051a49afb482b46f456af9a9",
"created":"2020-09-01T11:31:46+00:00",
"type":"id_front",
"data_requirement_id":"document_id_front"
},
{
"id":"5b2e7d0c1a9f4e3d8c6b2a1f0e9d8c7b",
"created":"2020-09-01T11:31:46+00:00",
"type":"proof_of_address",
"data_requirement_id":"document_proof_of_address"
},
{
"id":"e4d3c2b1a0f94e8d7c6b5a4f3e2d1c0b",
"created":"2020-09-01T11:31:46+00:00",
"type":"selfie",
"data_requirement_id":"document_selfie"
}
]
}
}customer.documents lists the KYC documents you can download with Get KYC Document. It is empty unless Lirium enabled document sharing for your integration and this Customer type.
A document is listed only once its file is stored, and no webhook announces that. In a KYC Lirium performs, the ID and the selfie usually arrive after this webhook, so read the Customer again a few minutes later with Customer Details instead of relying on this payload.
Updated 5 days ago
Did this page help you?
