Event Overview - Account requested email change¶
Target Audience: Users, Developers, Stakeholders
Introduction¶
This document defines the event account_requested_email_change
.
Description¶
This event is triggered when an email change is requested for an account.
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_requested_email_change",
"timestamp": "2021-03-22T14:38:12.569Z",
"payload": {
"account": {
"id": "6058abd409c04c08e3212959",
"organisation_id": "organisation",
"first_name": "",
"last_name": "",
"contact_email": "user@email.com",
"mobile_number": null,
"alias": "",
"customer_number": "",
"birth_date": "",
"ssn": "",
"status": "active",
"loyalty_card_number": "",
"account_origin": "",
"verified": false,
"created": "2021-03-22T15:38:12+01:00",
"updated": "2021-03-22T15:38:12+01:00",
"confirmation_code": "",
"contact_email_for_update": "new_email@email.com",
"contact_email_update_code": "2ddbac99-7f46-4f24-98f9-e66c18e255a7",
"address": {
"id": "6058abd409c04c08e321295a",
"first_name": "Kalle",
"last_name": "Anka",
"street": "The Streets",
"street_number": "12",
"staircase": "A",
"floor": "3",
"apartment_number": "13",
"zip_code": "83242",
"city": "Stockholm",
"mobile_number": null,
"phone_number": "50460531",
"email": "user@email.com",
"country_code": "SE"
},
"gender": ""
},
"order": {},
"payment": {},
"receipt": {},
"share": {},
"user_product": {},
"new_user_product": {},
"gift": {},
"product": {},
"payment_retry": {},
"event_data": {
"email_change_url": "http://www.foo.bar"
},
"payment_about_to_expire": {}
}
}
Legacy e-mail¶
This event is supported by the transactional e-mailing system built into Payway.
Third-party e-mail¶
This event is supported by third party e-mailing systems such as Rule.