Customer Status Updated Event

Sent when a customer’s status changes to Active or Inactive. For instance, when a Customer is first created it will have a status of “Inactive” until the required documents have been uploaded and checked. A change of status could also be the result of a modification to existing data. For instance, a Contact could upload a new Proof of Identity document, which would cause their status to become “Inactive” until the document has been reviewed.

Once you have subscribed to the “CUSTOMER STATUS” event type, Redpin will call your designated API endpoint with the payloads described below when there is an update to one of your Customer’s Statuses.

Active Customer Example:

1{
2 "customer_id": "0201000005926289",
3 "status": "active",
4 "unique_identifier": "2df806d1-028f-405e-8a53-332b7b039d7b",
5 "contacts": [
6 {
7 "contact_id": "4349165556",
8 "first_name": "Saurabh",
9 "middle_name": "Rajendra",
10 "last_name": "Sarcar",
11 "status": "active"
12 }
13 ]
14}

Inactive Customer Example:

1{
2 "customer_id": "0201000005926289",
3 "status": "inactive",
4 "unique_identifier": "a8509765-a76d-4c20-9ebf-c2b0f08ab187",
5 "reason_for_inactive": "Identity document",
6 "documents_required": [
7 {
8 "document_type": "POI",
9 "uri": "/v1/customers/0201000005926289/contacts/4349165556/documents/0011q00000DA0MfAAL-0011q00000ab0xdf46"
10 }
11 ],
12 "contacts": [
13 {
14 "contact_id": "4349165556",
15 "first_name": "Saurabh",
16 "middle_name": "Rajendra",
17 "last_name": "Sarcar",
18 "status": "active",
19 "documents_required": [
20 {
21 "document_type": "POI",
22 "uri": "/v1/customers/0201000005926289/contacts/4349165556/documents/0011q00000DA0MfAAL-0011q00000ab0xdf46"
23 }
24 ]
25 }
26 ]
27}

Payload

The payload of this webhook request is an object.
customer_idstringRequired
Unique identifier for the customer
statusenumRequired
Whether the customer is active or inactive
Allowed values:
unique_identifierstringRequired

When the customer is active, this is the Unique ID for this Customer provided by the Register a Customer operation. When inactive, this is a temporary identifier for tracking the status change.

contactslist of objectsRequired
Array of contacts associated with the customer
customer_typestringOptional
Registering customer type
reason_for_inactivestringOptional
When the customer is inactive, this will be the reason for it being inactive. Only present when status is "inactive".
documents_requiredlist of objectsOptional
When there are outstanding documents for a Customer, this is an array of document objects. Only present when status is "inactive".

Response

200
any
Return a 200 status to indicate that the data was received successfully.