Skip to content

Event Overview - Account requested password reset

Target Audience: Users, Developers, Stakeholders

Introduction

This document defines the event account_requested_password_reset.

Description

This event is triggered when a password reset 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
  "event": "account_requested_password_reset",
  "timestamp": "2021-03-22T14:51:16.382Z",
  "payload": {
    "account": {
      "id": "6058aee409c04c0b4ece575c",
      "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:51:16+01:00",
      "updated": "2021-03-22T15:51:16+01:00",
      "confirmation_code": "183d7b6e-7a63-4b0b-9358-91e052a5ee42",
      "contact_email_for_update": "",
      "contact_email_update_code": "",
      "address": {
        "id": "6058aee409c04c0b4ece575d",
        "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": {
      "reset_url": "https://www.reset.nu?account_id=6058aee409c04c0b4ece575c&confirmation_code=183d7b6e-7a63-4b0b-9358-91e052a5ee42&return_url=https%3A%2F%2Freturnurl.nu",
      "return_url": "https://returnurl.nu"
    },
    "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.