PoweredBy API - Events, Notifications, and Alerts

API to expose events, notifications, and alerts to PoweredBy partners.

Changelog

v2.7.2

v2.7.1

v2.7.0

v2.6.1

v2.6.0

v2.5.0

v2.4.0

v2.3.3

v2.3.2

v2.3.1

v2.3.0

v2.2.0

v2.1.0

v2.0.0

Terminology

Event

Also referred to as a webhook. An event represents the stage change of a resource on the Greenlight platform. Events are purely informational, and mainly intended for system consumption. Partner backend systems can use an event to derive logic. Events could also be parsed, transformed, and enriched to send to users directly via configured and approved communication channels with the partner.

Notification

A notification is a specific term that captures a superset of all information that Greenlight provides directly to a user within the Greenlight application context. Notifications are curated messages that are triggered from other user or system behaviors, and are intended to be delivered to users directly. In the Greenlight direct application context, Notifications are delivered into the application and to any configured communication channels (Push message, SMS, Email, etc).

User Action

A user action is a subset of notifications that require a user to perform an action. The most common use of a user action is for parent approvals. If a parent approval is required, a user action is generated to prompt the user to view the notification and take the appropriate action (approve, decline, edit).

ECI

External Customer Identifier. An identifier, provided by GL partners, to uniquely identify parents and children that will participate in the GL platform. This value should not change during the relationship of the user with the GL platform.

EAI

External Account Identifier. An identifier, provided by GL partners, to uniquely identify financial accounts owned by parents and children that will participate in the GL platform. This value should not change during the relationship of the user with the GL platform.

GLUID

Greenlight Unique Identifier, is a compound Id that is globally unique in the resource model exposed by the GL APIs. A GLUID is composed of a Resource Entity Type and a Resource Id. GlUIDs are constructed with the following format {ResourceType}::{ResourceId}.

As an example, an External User is a GL resource entity type that relates to an External Customer Id (ECI) resource. If an external user has an ECI of abc123-xyz789, this user can be represented as the GLUID ExternalCustomer::abc123-xyz789.

Types

DateTime

A DateTime object is represented as a String in the GL resource model. DateTime strings should be compliant with the date-time format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. An example of a DateTime string representing a date and time in UTC is 2019-09-03T10:15:30Z.

A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the date-time format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.

Currency

Money amounts, or currency, is represented in the resource model as a Number (32.74). The assumption is that this number represents US currency.

String

Unless otherwise noted against the specific data type in the specification, the maximum length for all String data types is 255 characters.

GET /event/notifications

List Notifications

POST /event/notifications

Create Notification

PATCH /event/notifications/{id}

Update Notification

DELETE /event/notifications/{id}

Delete Notification

GET /event/webhook-configs

List Webhook Configs

GET /event/webhook-configs/{type}

View Webhook Config

PATCH /event/webhook-configs/{type}

Update Webhook Config