Greensky
Board merchants to GreenSky through Preczn, track each application through approval, and run GreenSky loans for your merchants' customers.
Overview
Preczn submits each merchant's enrollment to GreenSky and reports every status change to your platform. GreenSky lends to your merchants' customers. Preczn records each loan as a loan token and runs drawdowns against it. Card and ACH payments don't route through Preczn.
Merchant onboarding
| Capability | Supported | Details |
|---|---|---|
| Merchant onboarding | ✓ Yes | Jump to Onboarding a merchant |
| Onboarding through the API | ✓ Yes | Jump to Onboarding a merchant |
| Merchant import | ✗ No |
Transactions
| Capability | Supported | Details |
|---|---|---|
| Card transactions | ✗ No | |
| Apple Pay transactions | ✗ No | |
| Google Pay transactions | ✗ No | |
| ACH transactions | ✗ No | |
| Transaction import | ✗ No |
Tokens and lending
| Capability | Supported | Details |
|---|---|---|
| Token migration | ✗ No | |
| Lending | ✓ Yes | Jump to Lending |
Configuring the platform connection
In the Dashboard, go to Connections → Add Connection and select GreenSky. For the general steps, see Add a connection to your platform.
| Dashboard field | Required | Description |
|---|---|---|
| Channel | Yes | Your GreenSky channel, assigned by GreenSky. |
| API-Key | No | Your GreenSky API key. Preczn uses it to retrieve a merchant's key when you link a merchant. |
| Authorization Key | No | Not used for GreenSky. Leave it blank. |
| Program | No | An optional program identifier. |
| Sponsor ID | No | Your GreenSky-issued sponsor ID. Preczn sends it with each enrollment when you set it. |
If you enter an API-Key, click Verify connection, and then click Connect. Preczn checks the API-Key and Channel with GreenSky in the environment that matches your mode: the GreenSky sandbox in Test mode, and GreenSky production in Live mode. If you leave API-Key blank, the button reads Add Connection and Preczn saves the connection without checking it.
Preczn doesn't check the Sponsor ID or, without an API-Key, the Channel
Submit only a Sponsor ID that GreenSky issued to your platform. If the value isn't valid, GreenSky doesn't reject the enrollment. It uses its own default sponsor instead, so the sponsor on GreenSky's side doesn't match the value you saved. Confirm the value with GreenSky before you board real merchants.
With a blank API-Key, Preczn doesn't confirm the Channel with GreenSky. A wrong Channel fails later, when you board a merchant.
Linking existing credentials
If a merchant already has a GreenSky account, link it instead of boarding the merchant again. A merchant has one connection for each processor, so you link one GreenSky account to each merchant. For a business with two GreenSky accounts, see Use two accounts at one provider.
To link the account, give Preczn the merchant's GreenSky merchant ID. Preczn uses your platform connection's API-Key to retrieve the merchant's key from GreenSky. If GreenSky doesn't return a key, Preczn doesn't save the merchant ID.
Choose how you'll link the account. Select the Dashboard tab or the API tab.
- In Merchant Vault, open the merchant.
- Under Connections, select GreenSky.
- Click Edit, and enter the GreenSky merchant ID in Merchant ID.
- Click Save changes.
Send the merchant ID as mid with PATCH /v1/merchants/{merchantId}/connections/Greensky:
{
"mid": "{greenskyMerchantId}"
}If GreenSky doesn't return a merchant key, the request returns 400 and Preczn doesn't save the merchant ID. Otherwise, Preczn sets the connection's status to Active.
Onboarding a merchant
You send the merchant's data to Preczn with a boarding form or through the API. Preczn checks it against your GreenSky requirements template. When the data is complete, Preczn sends the enrollment to GreenSky and tracks the merchant's status through GreenSky's webhooks.
This diagram shows what happens after you send the onboard request for a GreenSky merchant.
sequenceDiagram
participant H as Your platform
participant P as Preczn
participant G as GreenSky
autonumber
H->>P: Onboard request (or submit boarding form)
P-->>H: Status Queued
P->>G: Send enrollment (with status webhook callback URL)
G-->>P: Enrollment accepted (no merchant ID)
P-->>H: merchant.updated (Sent)
G-->>P: First webhook (GreenSky merchant ID)
P-->>H: merchant.updated (status from the webhook)
loop On each GreenSky status change
G-->>P: Status webhook
P-->>H: merchant.updated
end
GreenSky doesn't return a merchant ID when it accepts the enrollment. Until its first webhook arrives, the merchant has no GreenSky merchant ID.
Required merchant data
Preczn checks each merchant against your GreenSky requirements template. Until a merchant meets every requirement, its GreenSky connection stays in Requirements, and missingRequiredData lists what's missing. For how requirements are evaluated, see Onboarding data requirements.
Beyond the business, owner, and banking data in the template, GreenSky requires the following. The API tab of the Collecting the merchant's data section says where to send each one.
- Terms acceptance, disclosures, and anti-fraud code. See the Terms and conditions section.
- The person completing the application
- Four contacts
- GreenSky Primary Business Category
- Annual Finance Volume
GreenSky needs one contact for each of four roles. One person can fill more than one role.
| Role | Label on the form |
|---|---|
account | Primary Contact |
credit | Statements Contact |
sales | Sales Contact |
marketing | Marketing Contact |
Terms and conditions
GreenSky publishes the merchant disclosures that the merchant accepts and the merchant agreement. The boarding form loads them for the merchant. Preczn stores the acceptance on the merchant's GreenSky connection and sends it to GreenSky with the enrollment. The connection can't reach Ready until all of the following are set:
| API field | Description |
|---|---|
connectionspecificRequirements.tosDate | The date the merchant accepted, as YYYY-MM-DD. |
connectionspecificRequirements.presentedDisclosures | The text of the disclosures that the merchant saw. |
connectionspecificRequirements.blackbox | The anti-fraud code that GreenSky requires with every application. |
connectionspecificRequirements.signingContact | The person completing the application: firstName, lastName, title, email, and phone. |
The anti-fraud code is generated in the merchant's browser when the merchant accepts the terms, and GreenSky uses it to decide whether the application can proceed.
Collecting the merchant's data
You can collect GreenSky merchants' data through the API as well as the boarding form. With the API, your platform also handles the shared requirements and the GreenSky work on the API tab.
Choose how you'll collect the merchant's data. Select the Boarding form tab or the API tab.
A boarding form that includes GreenSky adds two steps: Terms & Conditions and Contacts. It behaves as follows:
- Terms step. The form shows the terms step only when the form's Show T&C setting is on. The step shows GreenSky's disclosures and links GreenSky's Program Agreement. The acceptance checkbox stays disabled until the merchant scrolls to the end of the disclosures. The step also asks for the person completing the application. When the merchant saves the step, the form saves the date, the disclosures, the anti-fraud code, and that person's details.
- Contacts step. The form shows the contacts step for every form that includes GreenSky. The merchant assigns an owner or a contact to each of the four roles, or adds a new contact.
- Ownership. The owners step doesn't continue until the owners' ownership percentages add up to at least 51%. See the API tab for the same rule.
- Hidden fields. Annual Finance Volume and GreenSky Primary Business Category are off by default in a form template, and GreenSky requires both. Turn them on in the template's field configuration. With either one off, the merchant can't provide the value, and the connection stays in Requirements.
- Primary account. GreenSky receives one bank account for each merchant. Keep Primary Account on in the template's field configuration so merchants can choose which account GreenSky receives. If you turn it off, merchants can't choose, and GreenSky receives the first account.
For general form setup, see Hosted boarding forms.
Follow the shared sequence in Board through the API. In addition to the shared requirements, your platform must do the following for each GreenSky merchant:
- Show GreenSky's disclosures. Show the merchant GreenSky's disclosures. See the Terms and conditions section. Send the text that you showed as
presentedDisclosures, and the date the merchant accepted astosDate. - Capture the anti-fraud code in the merchant's browser. Coordinate with GreenSky to set up anti-fraud code capture in your own UI. Capture the code when the merchant accepts the disclosures, and send it as
blackbox. Confirm with GreenSky that a code captured on your domain is acceptable. - Send the person completing the application. Send
signingContactwithfirstName,lastName,title,email, andphone. Sendphonein E.164 format:+1followed by 10 digits. Preczn rejects any other format. - Send the primary business category. Send
greenskyPrimaryBusinessCategorywith one of GreenSky's categories, such asHVAC. Preczn rejects any other value. - Send the annual finance volume. Send
annualFinanceVolumeon the merchant, in cents, withPATCH /v1/merchants/{merchantId}. - Assign the four contacts. Assign a contact or an owner to each role with
PUT /v1/merchants/{merchantId}/connections/Greensky/contact-roles. To add contacts first, see Manage merchant contacts. - Give the owners at least 51% in total. Send owners whose
ownershipPercentvalues add up to 51 or more. Preczn doesn't check this through the API. GreenSky requires it, and the hosted form enforces it.
Items 1 to 4 go on the connection with PATCH /v1/merchants/{merchantId}/connections/Greensky:
{
"connectionspecificRequirements": {
"tosDate": "{YYYY-MM-DD}",
"presentedDisclosures": "{disclosuresText}",
"blackbox": "{antiFraudCode}",
"greenskyPrimaryBusinessCategory": "HVAC",
"signingContact": {
"firstName": "{firstName}",
"lastName": "{lastName}",
"title": "{title}",
"email": "{email}",
"phone": "+15555550100"
}
}
}The contact roles request lists each role once. A role takes an owner or a contact:
{
"assignments": [
{
"roles": ["account", "credit"],
"subjectType": "contact",
"subjectId": "{contactId}"
},
{
"roles": ["sales", "marketing"],
"subjectType": "owner",
"subjectId": "{ownerId}"
}
]
}How Preczn sends your data
If a value in GreenSky looks different from what you sent, check the following:
- Text is cleaned. Preczn removes every character except letters, digits, spaces, apostrophes, periods, commas, and hyphens from the bank account holder's name and from the product or service description. Accented letters become their plain letters. Preczn also shortens the product or service description to 45 characters.
- Amounts are whole dollars. Preczn sends the average ticket, annual sales volume, and annual finance volume in whole dollars and drops any cents.
- ZIP codes have five digits. Preczn sends only the first five characters of the business and owner ZIP codes.
- The mailing address is the business address. Preczn sends the business address as both the physical and the mailing address.
- One bank account is sent. Preczn sends the account marked as primary, or the first account if none is marked.
- Every owner is sent.
When boarding fails
Preczn runs the following checks when boarding starts, and missingRequiredData doesn't show them. If a check fails, the connection moves to Error, and actionDescription says why:
- Your GreenSky platform connection has no Channel.
- The merchant's GreenSky primary business category is missing or isn't one of GreenSky's categories.
- A contact or the person completing the application can't be mapped, such as a phone number that doesn't have 10 digits. For this failure,
actionDescriptionis a general message.
If GreenSky rejects the enrollment, the connection moves to Error. When GreenSky names the fields it rejected, actionDescription lists each one with GreenSky's message. Otherwise, it shows a general message. When you onboard again, Preczn sends the enrollment again. If the merchant already has a GreenSky merchant ID, Preczn doesn't send an enrollment.
How Preczn checks status
GreenSky pushes merchant status changes to Preczn through the webhook that Preczn registers with each enrollment. You don't set up a webhook for merchant status. For how you receive each change, see Status updates.
Merchant status
A GreenSky connection moves through the following Preczn statuses. For Unconfigured and Evaluating, see Connection statuses.
| Preczn status | What it means | What to do |
|---|---|---|
| Requirements | The merchant is missing required data. | Collect the missing data. |
| Ready | The merchant meets every requirement. | Onboard the merchant. |
| Queued | Preczn accepted the onboard request and hasn't sent the enrollment yet. | Wait. |
| Sent | Preczn sent the enrollment. GreenSky hasn't returned a merchant ID. | Wait for GreenSky's first webhook. |
| Underwriting | GreenSky is reviewing the application. | Wait. |
| RFI | GreenSky needs more information. | Work with GreenSky directly. See the Responding to an RFI section. |
| Active | GreenSky approved the merchant. | None. |
| Rejected | GreenSky declined the application. | Contact GreenSky for details. |
| Disabled | GreenSky suspended or deactivated the merchant. | Contact GreenSky. |
| Closed | GreenSky ended the merchant's account. | None. |
| Error | Preczn couldn't send the enrollment, or GreenSky rejected it. | actionDescription says why. See the When boarding fails section. |
Each GreenSky webhook sets the status it carries. If a webhook has no status, Preczn sets Underwriting. If a webhook has a status that Preczn doesn't recognize, Preczn leaves the status unchanged.
Responding to an RFI
Resolve a GreenSky request for information (RFI) with GreenSky directly. When GreenSky changes the merchant's status, Preczn sends you a merchant.updated webhook. If the status doesn't update, contact Preczn support.
Lending
GreenSky is a B2B2C lender: it lends to your merchants' customers. Preczn records each loan as a loan token, keeps the loan record current from GreenSky's updates, and runs drawdowns against the loan.
To use a GreenSky loan, follow these steps:
- Make sure the merchant's GreenSky connection has a GreenSky merchant ID. Board the merchant, or link the merchant's account. See the Linking existing credentials section.
- Create a loan token for the loan, with
brandset togreensky. See Tokenizing loans. - Request a drawdown against the loan token. See Request a drawdown.
Voids and refunds
You can void or refund a GreenSky drawdown. Send a void or refund transaction with the drawdown's transaction ID. See Void and Refund.
Loan webhooks
When GreenSky changes a loan, Preczn updates the loan record and sends a loan.updated webhook for a loan that has a token. The webhook doesn't include loan.id, and it doesn't include createdOn. Match the loan by loan.tokenId. For the payload, see Loan webhook payloads. For what each loan status means, see Loan statuses.
Testing in test mode
In Test mode, Preczn sends enrollments to the GreenSky sandbox. The sandbox moves a merchant to Underwriting and no further. To test Active, RFI, Rejected, or any other status, give GreenSky the merchant's GreenSky merchant ID and ask GreenSky to change the status in the sandbox. Confirm the steps with GreenSky.
Use a Sponsor ID that GreenSky issued, even in Test mode. See the Configuring the platform connection section.
FAQ
Can I board GreenSky merchants entirely through the API?
Yes. Your platform shows GreenSky's disclosures, captures the anti-fraud code in the merchant's browser, and sends both with the rest of the GreenSky work. Confirm with GreenSky that a code captured on your domain is acceptable. See the API tab of the Collecting the merchant's data section.
Why is the merchant stuck in Sent?
Preczn hasn't received GreenSky's first webhook. Until it arrives, the merchant has no GreenSky merchant ID, so Preczn can't look the merchant up at GreenSky. Contact GreenSky with the merchant's name and the value of onboardingSubmissionDate on the merchant's GreenSky connection.
I set a Sponsor ID, but GreenSky shows a different value. Why?
GreenSky honors only Sponsor IDs that it issued, and it uses its default sponsor for any other value. See the Configuring the platform connection section.
Why does the connection stay in Requirements after the merchant submitted the boarding form?
A required item is missing. Check missingRequiredData on the merchant. If it lists connectionspecificRequirements.greenskyPrimaryBusinessCategory or annualFinanceVolume, the form template has that field turned off. See the Boarding form tab of the Collecting the merchant's data section. If it lists connectionspecificRequirements.tosDate, the form's Show T&C setting is off.
Updated 11 days ago
