Event Overview - New account registered¶
Target Audience: Users, Developers, Stakeholders
Introduction¶
This document defines the event new_account_registered
.
Description¶
This event is triggered when a new account is registered in Payway.
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": "new_account_registered",
"timestamp": "2021-03-26T14:46:26.202Z",
"payload": {
"account": {
"id": "605df3c209c04c8c428c9a14",
"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-26T15:46:26+01:00",
"updated": "2021-03-26T15:46:26+01:00",
"confirmation_code": "",
"contact_email_for_update": "",
"contact_email_update_code": "",
"address": {
"id": "605df3c209c04c8c428c9a15",
"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": {
"confirmation_url": "https://confirmation_url.com"
},
"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.