PoweredBy API - Fund Features
API to provide Greenlight money movement features to PoweredBy commercial partners.
Changelog
v2.2.2
- Added separation between default and custom allocation account types in
FinancialInstrumentTypeenum- added GENERAL_SPENDING default type
- added GENERAL_SAVINGS default type
- added GENERAL_GIVING default type
v2.2.1
- Added id attribute to
FundingRuleobject
v2.2.0
- Refactor funding rules endpoints to align with latest design requirements
- Changed resource path of funding rule endpoints to reflect rule as a sub-resource of a user
/fund/rulesbecomes/fund/users/{userId}/rules
- Changed resource path of funding account endpoint to align with pattern used for funding rules
/fund/accountsbecomes/fund/users/{userId}/accounts
- Changed resource path of funding rule endpoints to reflect rule as a sub-resource of a user
v2.1.0
- Align implementation with other product offerings to cancel and recreate vs edit a funding request
- Removed the
editFundingRequestoperation - Changed the
approveFundingRequestoperation to not allow edits at time of approval
- Removed the
v2.0.2
- Changed the defaulted source/destination account for deposit, withdraw, receive payment, and send payment operations
- Replaced separate versions of
ExternalParty::[Deposit | Withdraw | Payment]withExternalParty::Processor - This should only change the documentation related to the endpoints, not functionality of the endpoints
- Replaced separate versions of
v2.0.1
- Cleanup of deprecated endpoints after decision to use separate funding operations
v2.0.0
- Upgrade to OpenAPI 3.0.0
- Added list funding requests operation as a GET method
- Deprecated search funding requests operation as a POST method
- Changed
getFundingAccountsoperation tolistFundingAccounts - Added
PaymentTypeenumeration for valid payment types - Added new payment attributes to the
FundingRequestMoveInputentitypaymentTypereferences new PaymentType enumerationpaymentMetadataprovides additional attributes to describe a payment
- Changed
LedgerAccountentity toFinancialAccount - Added the
FinancialAccountTypesenumeration with new account type definitions - Added the
FincialInstrumentandFinancialInstrumentTypesentities - Added the
listFinancialInstrumentsoperation - Added specific RFP webhook definition
- Defined RFP reason enumerations
- Updated OAS version to v3.1.0 to support webhook definition
- Changed the
editFundingRequestoperation to be a PATCH vs PUT endpoint to match style guidelines - Added a
cancelFundingRequestoperation to be consistent with other custom operations - Deprecated
deleteFundingRequestoperation, usecancelFundingRequestinstead - Changed custom funding request operation endpoints from PUT to POST operations to follow style guidelines
- Deprecated
requestForPaymentCallbackoperation and replaced withauthorizeFundingRequestoperation - Added endpoints to view and manage funding rules
- Added a
declineFundingRequestoperation to allow a payment processor explicitly decline an RFP
Deprecation Log
- N/A
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.
POST /fund/deposit-funds
Deposit Funds
POST /fund/receive-payment
Receive Payment
GET /fund/requests
List Funding Requests
GET /fund/requests/{id}
View Funding Request
POST /fund/requests/{id}/approve
Approve Funding Request
POST /fund/requests/{id}/authorize
Authorize Request for Payment
POST /fund/requests/{id}/cancel
Cancel Funding Request
POST /fund/requests/{id}/decline
Decline Request for Payment
POST /fund/requests/{id}/reject
Reject Funding Request
POST /fund/send-payment
Send Payment
POST /fund/transfer-funds
Transfer Funds
GET /fund/users/{id}/accounts
List Funding Accounts
GET /fund/users/{id}/rules
List Funding Rules
POST /fund/users/{id}/rules
Create Funding Rule
GET /fund/users/{userId}/rules/{ruleId}
Get Funding Rule
PUT /fund/users/{userId}/rules/{ruleId}
Edit Funding Rule
DELETE /fund/users/{userId}/rules/{ruleId}
Delete Funding Rule
POST /fund/withdraw-funds
Withdraw Funds