PoweredBy API - Account Features
API to provide Greenlight account management and lifecycle features to partners.
Changelog
V2.3.2
- Documented that
pageSizeongetUserStatementdefaults to 25 when it is not provided - Corrected the
StatementRecordRequestTypedescription to listSPEND_ADJUSTMENT_CREDITandSPEND_ADJUSTMENT_DEBIT, matching the enum - Corrected the
getFamilydescription to refer to theidpath parameter
V2.3.1
- Removed
accountfrom the required properties of thecloseUserresponse; the response is theUserplusclosureReason - Documented the empty JSON object returned on success by
activateUser,deactivateUser,enableCardanddisableCard - Documented the 401 and 403 responses for
originateParent,originateChildandoriginateFamily - Documented the 400, 401, 403 and 404 responses for
listFinancialAccounts,enableCardanddisableCard - Marked the request body as required for
originateFamily,closeUserandupdateNicknames
V2.3.0
- Updated statement endpoint resource path to align with current PoweredBy v2 partner implementation pattern
- moved from
/account/users/{id}/statementto/account/users/{userId}/accounts/{accountId}/statement
- moved from
- Added separation between default and custom allocation account types in
FinancialInstrumentTypeandAllocationAccountTypeenum- added GENERAL_SPENDING default type
- added GENERAL_SAVINGS default type
- added GENERAL_GIVING default type
v2.2.0
- Added
deactivateUserendpoint to support deactivating an active user as a part of an offboarding workflow - Added
activateUserendpoint to allow reactivating a user that was previously deactivated - Added
User.stateattribute to capture additional states needed for offboarding workflow - Deprecated the
User.activeattribute in favor of newstateattribute
v2.1.1
- Aligned financial instrument and account types to be consistent with other schemas
- Changed
ProgramAccount,ModuleAccount, andAllocationAccountsto be more specific to type definitions - Removed the
ParentAccountandChildAccountas those schema objects were used - Removed the
adjustAccountBalanceas it has not been identified as a requirement - Changed the
getUserStatementendpoint to support both user and account level filtering
v2.1.0
- General
- Changed naming convention for ECI and EAI attributes on origination endpoints
- Reason: align on consistent naming convention with addition of parent nickname override
originateParentandoriginateFamilyoperations- body parameter
parentEAIchanged toexternalAccountId - body parameter
parentECIchanged toexternalCustomerId
- body parameter
originateChildandoriginateFamilyoperations- body parameter
childEAIchanged toexternalAccountId - body parameter
childECIchanged toexternalCustomerId
- body parameter
- Changed naming convention for ECI and EAI attributes on origination endpoints
- Card Status
- Feature: Support the ability to view and manage card status for a child
- Changes:
- Added card status to
Userentity - Added
disableCardandenableCardoperations
- Added card status to
- Nicknames
- Feature: Support the ability to override the default nickname of another user from within a user profile
- Changes:
- Added
nicknameOverridesarray toUserentity - Updated
originateChildoperation to support parent nickname override - Added
updateNicknamesoperation to support updating a default nickname for a user profile or overriding defaul nicknames of other users - Removed
updateUserendpoint (replaced byupdateNicknamesendpoint)
- Added
v2.0.0
- Baseline from v1.11.6
- Changed entity structures to introduce user entity
- Changed several endpoint paths to align with latest style guidelines
- Added new endpoints for user resources
- Changed domain module entities from
{Domain}SubAccountto{Domain}Module - Changed GLUID resoure references to align with entity changes
ExternalFundingAccountchanged toExternalAccountto align with EAI terminologyExternalUserchanged toExternalCustomerto align with ECI terminologyGreenlightAccountchanged toProgramAccountto represent the top level financial account for a childWalletchanged toProgramAccountto represent the top level financial account for a parent
- Added
Usertype that does not contain financial information unlike theUserAccounttype - Changed
closeAccountoperation to a sub-resource path under a user to align withadjustAccountoperation - Simplified schema to align on generic
AllocationAccountandModuleAccounttypes - Changed
familyIdtofamilyReferenceto more clearly indicate acceptance of GLUID for family identification on origination endpoints
Terminology
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 /account/families/{id}
View Family
POST /account/originate-child
Originate Child
POST /account/originate-family
Originate a Family
POST /account/originate-parent
Originate Parent
GET /account/users/{id}
View User
GET /account/users/{id}/accounts
List Financial Accounts
POST /account/users/{id}/activate
Activate User Account
POST /account/users/{id}/close
Close User Account
POST /account/users/{id}/deactivate
Deactivate User Account
POST /account/users/{id}/disable-card
Disable Card
POST /account/users/{id}/enable-card
Enable Card
POST /account/users/{id}/update-nicknames
Update Nicknames
POST /account/users/{userId}/accounts/{accountId}/statement
View User Statement