> ## Documentation Index
> Fetch the complete documentation index at: https://developers.argosidentity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Merchant Onboarding

> Copy-and-paste Workflow template that checks a business applying to take payments: registration, identity across documents, payout account holder and prohibited or restricted products.

This template checks a business that applies to take payments on a marketplace or payments platform. It confirms that the business is registered and active, that the same business appears on every document, that the payout account belongs to the business, and whether what it sells is on a prohibited or restricted list.

> [!NOTE]
>
> Every company, person, number and address in this example is fictional. The Verdict is a reference result, and an Admin makes the final decision.

## The situation

Gullwing Market is an online marketplace that takes card payments for its sellers and pays out their sales. A seller that applies to take payments submits its business registration document, a voided business check or a bank letter for the payout account, and a short description of the business, which it types as text: what it sells, to whom and how. It can also add its latest monthly statement from its current card processor.

A risk analyst wants every seller checked the same way: the business is registered and its registration is active; the same business (legal name, trade name and address) appears on every document; the payout account is held by the business, under its legal name or its trade name; and nothing the business sells is on the prohibited list (rejected) or the restricted list (sent for review).

The Workflow writes these results into the Output Schema and ends with a decision: approved when every check passed, rejected when a check failed, and manual\_review in every other case, for example a seller of restricted products. A risk Admin decides whether the seller can take payments.

## At a glance

| Item | Value |
| - | - |
| Documents received | 4 |
| Steps | 7 |
| Output Schema fields | 24 fields in 5 sections |
| Engines | Text Verifier |
| How the result splits | **passed** when every Step passes. **failed** when the registration is inactive, the business name differs between documents, the account holder is another person or business, or the business sells something on the prohibited list. **needs\_review** in every other case that is not fully confirmed, for example a trade name that is not explained, a missing document, or a business that sells something on the restricted list. |

## 1. Policy text

In step 2 (**Policy definition**) of the create screen, paste the text below into **Policy text**. Replace the sample company name (Gullwing Market) in the first line and in the business context with yours.

```text theme={null}
Company: Gullwing Market (sample company)
Entity type: Small businesses that apply to sell on the marketplace and receive card payouts

Business context: Gullwing Market is an online marketplace that takes card payments for its sellers and pays out their sales. Before a seller can take payments, the risk team checks that the business is registered, that the same business appears on every document, that the payout account belongs to the business, and that what the business sells is not on the marketplace's prohibited or restricted list.

Regulatory driver: The marketplace's acceptable use policy and the rules of its payment partners: businesses that sell prohibited products are not onboarded, and businesses that sell restricted products are onboarded only after a person reviews them.

Trigger: A seller applies and submits: (1) its business registration document, (2) a voided business check or a bank letter for the payout account, (3) a short description of the business (typed as text: what it sells, to whom and how, and its website), and optionally (4) its most recent monthly statement from its current card processor.

Output Schema: the field names below are the field names of this workflow's Output Schema. Keep them as they are; do not add or rename fields.

Review sections (each one is a section of the Output Schema):

1. merchant_details — Facts about the business as written on its registration document (source: business registration document):
     - merchant_legal_name — Legal name of the business on the registration document.
     - merchant_dba_name — Trade name (DBA) the business uses, if any document gives one.
     - registration_state — US state where the business is registered.
     - registration_number — Registration or file number on the registration document.
     - merchant_ein — Employer Identification Number of the business, if any document gives one.
     - merchant_address — Principal address of the business on the registration document.

2. identity_consistency — Whether the business is registered and the same business appears on every document:
     - registration_status (active / inactive / not_found) — active: the registration document shows a current registration. inactive: it shows the business is dissolved, revoked or expired. not_found: no registration document.
     - registration_status_reason — explanation for the registration_status result
     - identity_match_status (matched / partially_matched / mismatched) — Comparison of merchant_legal_name, merchant_dba_name and merchant_address with the names and addresses on the payout account document, the processing statement and the business description. matched: the same business everywhere. partially_matched: another address or an unexplained trade name. mismatched: another business name.
     - identity_match_status_reason — explanation for the identity_match_status result

3. payout_account — Whether the payout account belongs to the business (source: voided check or bank letter):
     - account_document_type (voided_check / bank_letter) — Kind of document submitted for the payout account.
     - payout_bank_name — Name of the bank that holds the payout account.
     - payout_account_last4 — Last four digits of the payout account number. The full number is not recorded.
     - payout_holder_match_status (matched / partially_matched / mismatched) — Comparison of the account holder name with merchant_legal_name and merchant_dba_name. matched: the legal name or the trade name, apart from letter case, punctuation or the form of the entity suffix. partially_matched: a shortened form of the name, or an owner's personal name. mismatched: another person or business.
     - payout_holder_match_status_reason — explanation for the payout_holder_match_status result

4. business_activity — What the business sells, and whether it is on the prohibited or restricted list (source: business description, processing statement):
     - business_category — One sentence on what the business sells, to whom and how, from the business description.
     - processing_statement_provided (bool) — True when a monthly statement from a card processor is in the Case. Left empty when there is none, because the statement is optional.
     - monthly_card_volume (number) — Card sales in USD for the latest month on the processing statement.
     - business_type_risk (low / medium / high) — high: the business sells something on the prohibited list. medium: it sells something on the restricted list. low: neither.
     - business_type_risk_reason — explanation for the business_type_risk result
     - restricted_list_entry — The prohibited or restricted list entries that matched. Empty when business_type_risk is low.

5. decision — final workflow output, computed from sections 1-4:
     - result (approved / rejected / manual_review)
     - verificationStatus (verified / rejected / pending_review)
     - reasons (list of strings — cite whichever step drove the result)

Verification / review logic:
- The same business must appear on the registration document, the payout account document, the processing statement and the business description. A trade name (DBA) the business uses is the same business.
- Prohibited list: illegal drugs, paraphernalia, marijuana, weapons, ammunition, explosives, adult content, gambling, multi-level marketing, counterfeit goods. A business that sells anything on this list is rejected (business_type_risk high).
- Restricted list: CBD, hemp, tobacco, vaping, alcohol, dietary supplements, cryptocurrency, timeshares, ticket resale. A business that sells anything on this list is sent for review (business_type_risk medium).
- result is approved and verificationStatus is verified only when every check passed.
- result is rejected and verificationStatus is rejected when the registration is inactive, another business name appears (identity_match_status or payout_holder_match_status mismatched), or business_type_risk is high.
- In every other case, such as business_type_risk medium, a missing document or another address, result is manual_review and verificationStatus is pending_review.

Output / data handling:
- The result is shown in the Case. A risk Admin reads the result and the reasons and decides whether the seller can take payments.

Notes:
- The prohibited and restricted lists are written in the step that checks the business type. Change them there and in this policy to match your own acceptable use policy.
- Only the last four digits of the payout account number are recorded.
```

## 2. Information Checklist

In step 3 of the create screen (**Documents to collect**, the Information Checklist), add each row below with **Add document**. You can also leave it empty and add the documents later in **Document collection** on the edit screen. The column names are the field labels of the **Add document** form.

| Document name | Why it is collected | What it must meet | Required or optional | Answered with |
| - | - | - | - | - |
| Business registration | To confirm that your business is registered. | A certificate of organization, certificate of incorporation or another state registration record showing the business name, the state, the registration number and an active status. Include your assumed business name (DBA) if you use one. | Required | File |
| Voided check or bank letter | To confirm the bank account your payouts go to. | A voided business check, or a letter from your bank, showing the account holder name, the bank name and the account number. The account holder must be your business. | Required | File |
| Business description | To understand what your business sells. | What you sell, to whom and how (online, in store or both), and your website address if you have one. | Required | Text |
| Processing statement | To see your recent card sales. | Your most recent monthly statement from your current card processor. | Optional | File |

What it must meet is used to answer the Applicant's questions. The uploaded documents are checked by the Steps, not against this text.

## 3. Output Schema

In step 5 of the create screen (**Output Schema**), paste the JSON below into the **JSON Schema** input.

| Section | What it holds |
| - | - |
| `merchant_details` | Legal name, trade name, registration state and number, EIN and address as written on the registration document |
| `identity_consistency` | Whether the registration is active, and whether the same business appears on every document |
| `payout_account` | Type of the account document, bank name, last four digits of the account number and whether the account holder matches the business |
| `business_activity` | What the business sells, whether a processing statement was provided, monthly card volume, the business type risk and any restricted list entry |
| `decision` | The final result (approved, rejected or manual\_review), the verification status and the reasons |

```json theme={null}
{
  "type": "object",
  "properties": {
    "merchant_details": {
      "type": "object",
      "description": "Facts about the business as written on its registration document.",
      "properties": {
        "merchant_legal_name": {
          "type": "string",
          "description": "Legal name of the business on the registration document."
        },
        "merchant_dba_name": {
          "type": "string",
          "description": "Trade name (DBA) the business uses, if any document gives one."
        },
        "registration_state": {
          "type": "string",
          "description": "US state where the business is registered."
        },
        "registration_number": {
          "type": "string",
          "description": "Registration or file number on the registration document."
        },
        "merchant_ein": {
          "type": "string",
          "description": "Employer Identification Number of the business, if any document gives one."
        },
        "merchant_address": {
          "type": "string",
          "description": "Principal address of the business on the registration document."
        }
      },
      "required": [
        "merchant_legal_name",
        "registration_state"
      ]
    },
    "identity_consistency": {
      "type": "object",
      "description": "Whether the business is registered and the same business appears on every document.",
      "properties": {
        "registration_status": {
          "type": "string",
          "enum": [
            "active",
            "inactive",
            "not_found"
          ],
          "description": "active: the registration document shows a current registration. inactive: it shows the business is dissolved, revoked or expired. not_found: no registration document."
        },
        "registration_status_reason": {
          "type": "string",
          "description": "Status and dates shown on the registration document."
        },
        "identity_match_status": {
          "type": "string",
          "enum": [
            "matched",
            "partially_matched",
            "mismatched"
          ],
          "description": "Comparison of merchant_legal_name, merchant_dba_name and merchant_address with the names and addresses on the payout account document, the processing statement and the business description. matched: the same business everywhere. partially_matched: another address or an unexplained trade name. mismatched: another business name."
        },
        "identity_match_status_reason": {
          "type": "string",
          "description": "Each document that shows a different name or address, with what it shows."
        }
      },
      "required": [
        "registration_status",
        "identity_match_status"
      ]
    },
    "payout_account": {
      "type": "object",
      "description": "Whether the payout account belongs to the business.",
      "properties": {
        "account_document_type": {
          "type": "string",
          "enum": [
            "voided_check",
            "bank_letter"
          ],
          "description": "Kind of document submitted for the payout account."
        },
        "payout_bank_name": {
          "type": "string",
          "description": "Name of the bank that holds the payout account."
        },
        "payout_account_last4": {
          "type": "string",
          "description": "Last four digits of the payout account number. The full number is not recorded."
        },
        "payout_holder_match_status": {
          "type": "string",
          "enum": [
            "matched",
            "partially_matched",
            "mismatched"
          ],
          "description": "Comparison of the account holder name with merchant_legal_name and merchant_dba_name. matched: the legal name or the trade name, apart from letter case, punctuation or the form of the entity suffix. partially_matched: a shortened form of the name, or an owner's personal name. mismatched: another person or business."
        },
        "payout_holder_match_status_reason": {
          "type": "string",
          "description": "The account holder name on the document and how it differs from the business names."
        }
      },
      "required": [
        "payout_holder_match_status"
      ]
    },
    "business_activity": {
      "type": "object",
      "description": "What the business sells, and whether it is on the prohibited or restricted list.",
      "properties": {
        "business_category": {
          "type": "string",
          "description": "One sentence on what the business sells, to whom and how, from the business description."
        },
        "processing_statement_provided": {
          "type": "boolean",
          "description": "True when a monthly statement from a card processor is in the Case. Left empty when there is none, because the statement is optional."
        },
        "monthly_card_volume": {
          "type": "number",
          "description": "Card sales in USD for the latest month on the processing statement."
        },
        "business_type_risk": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ],
          "description": "high: the business sells something on the prohibited list. medium: it sells something on the restricted list. low: neither."
        },
        "business_type_risk_reason": {
          "type": "string",
          "description": "The products or services that decided the result, and where they were found."
        },
        "restricted_list_entry": {
          "type": "string",
          "description": "The prohibited or restricted list entries that matched. Empty when business_type_risk is low."
        }
      },
      "required": [
        "business_category",
        "business_type_risk"
      ]
    },
    "decision": {
      "type": "object",
      "description": "Final result of the review, written by the last step from the results of the earlier steps.",
      "properties": {
        "result": {
          "type": "string",
          "enum": [
            "approved",
            "rejected",
            "manual_review"
          ],
          "description": "approved: every check passed. rejected: at least one check failed. manual_review: anything else."
        },
        "verificationStatus": {
          "type": "string",
          "enum": [
            "verified",
            "rejected",
            "pending_review"
          ],
          "description": "verified when result is approved, rejected when result is rejected, pending_review when result is manual_review."
        },
        "reasons": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "One short line per failed or unresolved check, naming the check."
        }
      },
      "required": [
        "result",
        "verificationStatus"
      ]
    }
  }
}
```

## 4. Steps

The Steps are entered by hand because an analysis runs the Steps (their names, descriptions and engines), not the policy text. After the Steps have answered, the Output Schema is filled from their answers. A field that no Step answer gives stays empty (null). The Steps below name every Output Schema field, say which values to write, and say when the Step is passed, failed or needs review. The Steps that Omni writes from the policy text may not do this, so Output Schema fields can stay empty until you replace them.

The Verdict of a Case follows the Steps: rejected when any Step failed, verified when every Step passed, and pending\_review otherwise. The last Step, `summarize_decision`, writes the same outcome into the `decision` section of the Output Schema.

| Order | Action Name | Engines |
| - | - | - |
| 1 | `extract_merchant_details` | - |
| 2 | `compare_merchant_identity` | - |
| 3 | `read_payout_account` | - |
| 4 | `check_payout_holder` | Text Verifier |
| 5 | `describe_business_activity` | - |
| 6 | `check_restricted_business` | - |
| 7 | `summarize_decision` | - |

Copy the description into the **Description** of the Step.

### 1. extract\_merchant\_details

```text theme={null}
Read the business registration document. Write in rag_answer one key: value line each: merchant_legal_name, merchant_dba_name, registration_state, registration_number, merchant_ein (from any document), merchant_address, registration_status (active: a current registration; inactive: dissolved, revoked or expired; not_found: no registration document), registration_status_reason. Omit lines not given. passed if merchant_legal_name is found and active; failed if inactive; else needs_review.
```

### 2. compare\_merchant\_identity

```text theme={null}
Compare merchant_legal_name, merchant_dba_name and merchant_address with the names and addresses on the voided check or bank letter, the processing statement and the business description. Write in rag_answer identity_match_status (matched: the same business everywhere; partially_matched: another address or an unexplained trade name; mismatched: another business name) and identity_match_status_reason listing each difference. passed if matched; failed if mismatched; else needs_review.
```

### 3. read\_payout\_account

```text theme={null}
Read the voided check or bank letter for the payout account. Write in rag_answer account_document_type (voided_check|bank_letter), payout_bank_name, payout_account_last4 (the last four digits of the account number only, never the full number) and the account holder name exactly as printed. passed if the account holder name and payout_account_last4 are found; else needs_review. Never failed.
```

### 4. check\_payout\_holder

```text theme={null}
With the text tool, compare the account holder name from read_payout_account with merchant_legal_name and merchant_dba_name. Write in rag_answer payout_holder_match_status (matched: either name apart from case, punctuation or entity suffix form; partially_matched: a shortened form or an owner's personal name; mismatched: another person or business, whatever the tool score) and payout_holder_match_status_reason. passed if matched; failed if mismatched; else needs_review.
```

### 5. describe\_business\_activity

```text theme={null}
Read the business description and the processing statement. Write in rag_answer business_category (one sentence: what the business sells, to whom and how), processing_statement_provided (true when a processor statement is in the Case; else leave it out) and monthly_card_volume (card sales in USD for the latest month on the processing statement, as a number; leave it out when there is no statement). passed if a business description is in the Case; else needs_review. Never failed.
```

### 6. check\_restricted\_business

```text theme={null}
Check every product or service. Prohibited: illegal drugs, paraphernalia, marijuana, weapons, ammunition, explosives, adult content, gambling, multi-level marketing, counterfeit goods. Restricted: CBD, hemp, tobacco, vaping, alcohol, dietary supplements, cryptocurrency, timeshares, ticket resale. In rag_answer write business_type_risk (high: any prohibited; medium: any restricted; low: neither), business_type_risk_reason, restricted_list_entry. passed if low; failed if high; else needs_review.
```

### 7. summarize\_decision

```text theme={null}
Use the results of all earlier steps. Write in rag_answer: result (approved if every earlier step passed; rejected if any earlier step failed; else manual_review), verificationStatus (verified, rejected or pending_review, matching result), reasons (one line per step that failed or needs review: the step name and the problem, 20 words or fewer). passed if every earlier step passed; failed if any earlier step failed; else needs_review.
```

## How to build it

**1. Start a new Workflow**

Open **Workflow** and select **New workflow**. In **Basic information**, enter a **Workflow name**, for example "Merchant onboarding".

**2. Paste the policy text**

In **Policy definition**, paste block 1 into **Policy text**. Replace the sample company name (Gullwing Market) with yours.

**3. Add the documents to collect**

In **Documents to collect** (the Information Checklist), add each row of the table in section 2 with **Add document**, or leave it empty and add them later in **Document collection** on the edit screen.

**4. Select the AI model**

In **Select AI model**, keep the default model. The policy text and the AI model cannot be changed after the Workflow is created.

**5. Paste the Output Schema and create the Workflow**

In **Output Schema**, paste the JSON of section 3 into the **JSON Schema** input, then select **Create Workflow**. Wait until the Playbook has been generated and the Workflow shows a **Playbook ID**.

**6. Overwrite the Steps**

Open **Edit Workflow**, select **Edit** in **Playbook Actions**, and make the Steps match section 4.

* Overwrite the generated Steps from the top. Replace the **Action Name** and **Description** of each Step with those of the Step in the same position in section 4. At least one existing Step must stay, so you cannot delete every generated Step and add new ones.
* If the list is shorter than section 4, add the remaining Steps with **Add Action**. If it is longer, delete the extra Steps; a confirmation window warns that the reference notes of a deleted Step are deleted with it.
* If a name you enter is still used by another Step, saving is refused. Give one of the two Steps a temporary name (for example `tmp_1`), save, then rename it. Save one rename at a time.
* Select **Save** inside the section, refresh the page, and check the names and descriptions.

**7. Check the engines of every Step**

A Workflow created on the dashboard can have engines attached to its generated Steps automatically, and an engine left on a Step is called in every analysis. For each Step, open **Select engines**, check only the engines in the Step table of section 4, uncheck the rest, and select **Apply**. A Step with no engine in the table has none checked.

**8. Try it with test documents**

Create a Case from test documents and analyze it, as described in [Uploading Files to Create Cases](https://developers.argosidentity.com/en/omni/dashboard/uploading-files.md). Compare the result with the expected results below. When the analysis has ended, close the upload window with **Finish** so that the next upload starts fresh; if you only close it with the close button, the finished window opens again.

> [!WARNING]
>
> **Generate Playbook again** appears only when the Workflow has no Playbook or its generation failed. If you selected it, every Step was written again from the policy text, so enter the Steps of section 4 again.

## Expected results

The tables below show the result of running this template on the dev dashboard on 2026-11-27, with Gemini 3.8 Flash. Values can differ with your documents and AI model, so try it first with test documents.

### A Case without problems

| Item | Result |
| - | - |
| Verdict | verified |
| Steps | All 7 Steps passed |
| Analysis Score | 98 (High) |
| Report tab "Fields filled" | 5 / 5. It counts the 5 top-level sections of the Output Schema, not the 24 fields. |
| Audit summary | Steps: 7 · Passed: 7 · Tool calls: 1 · Tokens: 92,607 (results with a count of 0 are left out) |
| `merchant_details` | Saltmere Candle Works LLC, trade name Saltmere Candles, Oregon, registration number 0000417-90, EIN 12-3456787 (from the processing statement), 88 Tidewater Lane, Port Avalon, OR 97999 |
| `identity_consistency` | registration\_status active; identity\_match\_status matched (the trade name is registered as an assumed business name) |
| `payout_account` | voided\_check, Coveport Federal Credit Union, last four digits 4567, payout\_holder\_match\_status matched |
| `business_activity` | Handmade soy candles, wax melts and reed diffusers sold online and at craft markets to US consumers; processing\_statement\_provided true; monthly\_card\_volume 18420.55; business\_type\_risk low; restricted\_list\_entry may appear as the text "none" instead of empty |
| `decision` | result approved, verificationStatus verified, reasons empty |

The Summary and Report tabs show field and Step names in a readable form (for example `payout_holder_match_status` as "Payout holder match status").

### A Case with a problem

| Item | Result |
| - | - |
| Verdict | pending\_review |
| Analysis Score | 97 (High) |
| Steps | Step 6 `check_restricted_business` needs\_review (CBD is on the restricted list); Step 7 `summarize_decision` needs\_review; the other Steps passed |
| `business_activity` | The business description adds CBD bath bombs and massage oil; business\_type\_risk medium; restricted\_list\_entry CBD, hemp |
| `decision` | result manual\_review, verificationStatus pending\_review, reasons has one line naming `check_restricted_business` and the CBD products |
| Other fields | Same as the clean Case |

* The business description is answered as text when the Applicant submits through an Info Request. In the example Case it is a file, so that the Case can be built by uploading files.
* **Text Verifier** runs in Step 4 on the account holder name printed on the check, which is the same as the legal name.

## Adapting it

| What to change | Step |
| - | - |
| The prohibited and restricted lists. A business that sells something on the prohibited list fails; something on the restricted list is sent for review | 6 `check_restricted_business` |
| Whether a processing statement is required. It is optional in the Information Checklist and is only read for monthly\_card\_volume | 5 `describe_business_activity` |

A rule takes effect only when it is in the Step description, because that is what the analysis reads. The edit screen has no policy text field, so after the Workflow is created you change rules in the Steps. Keep each description to 500 characters or fewer, keep the field names exactly as they are in the Output Schema, and keep the passed, failed and needs\_review conditions. If you change a rule before you create the Workflow, change it in the policy text too, so that the policy people read says the same. An analysis uses the Steps as they were when it started, so after you change a Step, analyze the Case again.

Badge colours in the result are decided value by value. A value gets a colour only when it is one of the words Omni knows: for example verified, matched, valid, active, clear and low are green; rejected, mismatched, invalid, expired, not\_found and high are red; pending\_review, needs\_review, partially\_matched, incomplete and medium are orange. Any other value is grey. If you change an enum, pick its values from these words, and keep category values (such as a document type) out of them.

## Engines

The default engines are the ones in the Step table above. Select them in **Select engines** on each Step.

* **Text Verifier** scores how alike two names are.

**Text Verifier** compares two names and returns a similarity score. The Steps decide by the rule in their description and use the score as supporting evidence.

Engines that look up official records (business registration status, business information, bank account owner names) are in the engine list for Korea only. None of them covers US records, so this template has no record-lookup engine to add when you use it with real documents.

The credits used by an analysis and by each engine are in [Credit Pricing](https://developers.argosidentity.com/en/omni/dashboard/project/credit-pricing.md). For how to select engines and set their options, see [Engine Selection and Options](https://developers.argosidentity.com/en/omni/dashboard/workflow-setup/engine-selection.md).

## Related documents

> [card] [Creating a Workflow](https://developers.argosidentity.com/en/omni/guides/creating-a-workflow.md)
>
> The five steps of the create screen.

> [card] [Step writing guide](https://developers.argosidentity.com/en/omni/guides/writing-steps.md)
>
> How to write and fix Step descriptions.

> [card] [Editing a Workflow](https://developers.argosidentity.com/en/omni/dashboard/workflow-setup/editing-a-workflow.md)
>
> Playbook Actions, Output Schema and saving.

> [card] [Engine Selection and Options](https://developers.argosidentity.com/en/omni/dashboard/workflow-setup/engine-selection.md)
>
> Selecting engines and their options.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.