Event Overview - Account archived¶
Target Audience: Users, Developers, Stakeholders
Introduction¶
This document defines the event account_archived
.
Description¶
This event is triggered when an account in Payway is archived.
Listeners¶
Listeners available to the event.
Webhook¶
This event can be listened to using webhooks. To register your webhook please contact support.
Payload emitted
{
"event": "account_archived",
"timestamp": "2021-03-22T13:50:42.540Z",
"payload": {
"account": {
"id": "6058a0b209c04cff60319696",
"organisation_id": "organisation",
"first_name": "",
"last_name": "",
"contact_email": null,
"mobile_number": null,
"alias": "",
"customer_number": "",
"birth_date": "",
"ssn": "",
"status": "archived",
"loyalty_card_number": "",
"account_origin": "",
"verified": false,
"created": "2021-03-22T14:50:42+01:00",
"updated": "2021-03-22T14:50:42+01:00",
"confirmation_code": "",
"contact_email_for_update": "",
"contact_email_update_code": "",
"address": {
"id": "6058a0b209c04cff603196af",
"first_name": "",
"last_name": "",
"street": "",
"street_number": "",
"staircase": "",
"floor": "",
"apartment_number": "",
"zip_code": "",
"city": "",
"mobile_number": null,
"phone_number": "",
"email": "",
"country_code": ""
},
"gender": ""
},
"order": {},
"payment": {},
"receipt": {},
"share": {},
"user_product": {},
"new_user_product": {},
"gift": {},
"product": {},
"payment_retry": {},
"event_data": {},
"payment_about_to_expire": {}
}
}