Event Overview - Account activated for existing customer¶
Target Audience: Users, Developers, Stakeholders
Introduction¶
This document describes the event account_activated_for_existing_customer
.
Description¶
This event is emitted when an account is created in Payway due to an activation.
Listeners¶
Listeners available to the event.
Subscription system integration (SSI)¶
This event is supported by SSI.
Payload emitted
{
"event_name": "account_activated",
"timestamp": "2021-03-22T13:40:07+00:00",
"account_id": "60589e3709c04cfcc2f219f9",
"email": "user@email.com",
"customer_number": "123456",
"customer": {
"contact_email": "user@email.com",
"customer_number": "123456",
"first_name": "john",
"last_name": "doe",
"phone_number": "0701231234",
"ssn": "12341234-0000",
"crn": "321321-0000",
"company_name": "acme",
"birth_date": "2001-03-22"
}
}
Subscription system export¶
This event is generally supported in exports to subscription systems. Check with support for details.
Webhook¶
This event can be listened to using webhooks. To register your webhook please contact support.
Payload emitted
{
"event": "account_activated_for_existing_customer",
"timestamp": "2021-03-22T11:47:13.502Z",
"payload": {
"account": {
"id": "605883bc09c04ceca736f739",
"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-22T12:47:08+01:00",
"updated": "2021-03-22T12:47:08+01:00",
"confirmation_code": "",
"contact_email_for_update": "",
"contact_email_update_code": "",
"address": {
"id": "605883bc09c04ceca736f73a",
"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": {},
"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.