Skip to content

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

 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
{
  "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": {}
  }
}