Customer Status Update

customer.status-updated

This event occurs when a Customer Account status is updated.

Payload Object

id

string (UUID)

Event ID.

type

string

Event type. Value is customer.status-updated.

createdAt

string (date-time)

Date and time the event occurred.

data

object

Data related to the event.

customerId

string (UUID)

ID of the Customer Account.

businessAccountId

string (UUID)

ID of the Business Account.

status

string, enum values: PENDING, NEW, ACTIVE, INACTIVE, RE_ACTIVATE, SUSPENDED, ARCHIVED

Current status of the Customer Account.

dateTime

string (date-time)

Date and time of the current Customer Account status.

previousStatus

string, enum values: PENDING, NEW, ACTIVE, INACTIVE, RE_ACTIVATE, SUSPENDED, ARCHIVED

Previous status of the Customer Account.

previousDateTime

string (date-time)

Date and time of the previous Customer Account status.

Sample Payload Object

				
					{
  "id": "8561c9e3-78b3-4340-90c5-143a80a309a2",
  "type": "customer.status-updated",
  "createdAt": "2025-04-10T21:10:53.857Z",
  "data": {
    "customerId": "71036428-f05e-4b70-82b2-3f3181bfa9c3",
    "businessAccountId": "a76f0f02-900c-4747-9869-daf7ad5a6aec",
    "status": "PENDING",
    "dateTime": "2025-04-09T00:32:55.191Z",
    "previousStatus": "PENDING",
    "previousDateTime": "2025-04-08T00:32:55.191Z"
  }
}