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

# Merchant access

> Understand store onboarding, catalog visibility and eligibility.

Merchant access
Discover a store, confirm access and qualify it for checkout. Catalog visibility alone is not approval.

## Discover and access merchants

A merchant connection is the authorized link to a store. Enrollment controls whether your company may use that merchant; app-level selection controls which catalog your integration sees. Public directory visibility does not automatically authorize purchases.

Use `GET /v1/directory/merchants` to discover eligible merchants. Sandbox enrollment APIs require `merchants:manage`, merchant approval/private grants and the appropriate plan. Production selection is managed by Ignyt; catalog changes through the API return `catalog_managed`. An authorization denial is not permission to use another company's connection.

```bash theme={"theme":{"light":"github-light","dark":"vesper"}}
curl "$IGNITE_API_BASE_URL/v1/directory/merchants?limit=20" \
  -H "Authorization: Bearer $IGNITE_API_KEY"
```

```json Response (abridged) theme={"theme":{"light":"github-light","dark":"vesper"}}
{
  "items": [
    {
      "merchant_id": "mer_01M8NWKB9S489CK7E4ABQ2V773",
      "legal_name": "Souk One",
      "country": "AE",
      "enrollment_policy": "instant",
      "enrollment": null,
      "connections": [
        {
          "connection_id": "con_01M8NWKBAEM67E5DM4R7CFRZXT",
          "platform": "sandbox",
          "connection_checkout_allowed": true,
          "checkout_blockers": [],
          "catalog_stale": false
        }
      ]
    }
  ],
  "next_cursor": null
}
```

`enrollment` is `null` until your company is enrolled with the merchant. An enrollment covers your whole company, so check `enrollment.app_enabled` to see whether this app can sell for that merchant. In this response it is always `true` or `false`, never `null`: `true` only when the enrollment is `active` and this app is selected. `connection_checkout_allowed` and `checkout_blockers` tell you whether each store can take orders right now. In Sandbox, add a merchant to your catalog with `POST /v1/directory/merchants/{merchant_id}/add` (scope `merchants:manage`):

```bash theme={"theme":{"light":"github-light","dark":"vesper"}}
curl -X POST "$IGNITE_API_BASE_URL/v1/directory/merchants/$MERCHANT_ID/add" \
  -H "Authorization: Bearer $IGNITE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Arrange a new connection

Use the [managed merchant request flow](https://docs.ignyt.si/managed-onboarding.md) when enabled for your workspace/app/environment. Your workspace requests the store, Ignyt coordinates consent and store qualification, and Ignyt staff activate Production selection after readiness gates pass. Sandbox supports explicit activation and separate company test stores. Existing merchant signup and invitation contracts remain available where configured.

A UAE business can also apply directly through the Ignyt merchant dashboard. Merchants connect stores, set up payouts and manage their business profile there; they do not need Ignyt API access. Ignyt reviews the business profile, VAT/TRN details and trade licence before it can be listed. Business approval is independent of store connection, catalog import, checkout certification, payout readiness and Production approval; a connected store never implies any of them.

A private merchant invitation (`POST /v1/merchant-invitations`) is unique while pending: the same
email and business name (case-insensitive) in the same workspace returns `409 invitation_exists`
with `details.invitation_id`, and no new link or email is issued. Use the pending invitation's
link, or wait until it is accepted or expires (7 days); an expired invitation is replaced.
Withdraw a pending invitation with `POST /v1/merchant-invitations/{invitation_id}/withdraw`
(`merchants:manage`). Its link stops working at once and a repeated call returns the same withdrawn
invitation; an accepted invitation returns `409 invitation_not_pending`.

## Before checkout

Check merchant enrollment, connection readiness, supported market/currency and payment-recipient readiness. Mamo recipient approval is separate from store access. A pending recipient or an unqualified connector does not become ready because products are visible.

When Ignyt selects Mamo in Sandbox, a store without a usable recipient has
`connection_checkout_allowed: false` with the `mamo_recipient_required` blocker. The
`capability=checkout_enabled` filter excludes these stores. Continue with `next_cursor`
even when a filtered page is empty.

Catalog availability is an observation. Ignyt rechecks authoritative stock, price and checkout requirements when quoting and placing orders. Stale or unavailable connections can stop new work while existing order/refund servicing continues.

If a store refuses a connection's stored credentials (for example after the merchant rotates an app secret or regenerates an extension token), the connection moves to `reauth_required`: its products stay browse-only, and new cart lines and quotes are refused before contacting the store. The merchant reconnects the store in the merchant dashboard. Reconnecting re-runs authorization against the same store and keeps the connection, catalog and orders.

## Provider coverage

WooCommerce and Shopify have existing integration paths. BigCommerce, Wix, Ecwid, Magento and PrestaShop also have adapter implementations, with store/version-specific qualification limits. Ask Ignyt which exact store configuration is approved before promising Live checkout.

A BigCommerce store does not need an existing order to connect. Connection access and catalog reads
remain separate from checkout certification and payout readiness.
After a lost order-creation response, BigCommerce recovery uses the original cart to find the native
order. An Incomplete order keeps its saved identity and held allocation until the merchant's lifecycle
decision is known; finding the order does not accept it or authorize a second purchase.

Odoo 19 supports checkout only when its connection sets `commerce_mode: external_v1`. Connections without this value remain catalog-only. Coupons work with Odoo's Discount & Loyalty app (discount rewards only). OpenCart 3.0.x has an optional native checkout bridge; connections remain catalog-only unless `commerce_bridge: native_v1` is explicitly configured and the store extension is enabled. The bridge supports simple products without options. Recurring profiles and products with a minimum quantity above one are unsupported. It requires AED/UAE shipping and must be qualified against the exact store configuration; this does not imply general production qualification. Squarespace and Salesforce B2C Commerce remain catalog-only. They require the documented merchant access or store-installed integration where applicable; catalog import alone does not establish quote, order, refund or order-event support. ExpandCart is not yet integrated and requires official partner API documentation/access.

Custom merchants use the same commerce contracts and recovery rules; they do not upload executable code through the API. The next section is for the developer who builds a custom store's API, which Ignyt calls.

### Custom API v1 credentials

Register the store's HTTPS base URL and provide one credential set. A replacement credential set
must still authorize the original store.

| Scheme | Credential fields |
| - | - |
| Bearer token | `access_token` |
| API key in `X-API-Key` | `api_key` |
| HTTP Basic over HTTPS | `username` and `password` |
| OAuth 2.0 client credentials | `client_id` and `client_secret` |
| HMAC-SHA256 request signing | `key_id` and `signing_secret` |

For OAuth, the store implements `POST /v1/oauth/token` under its registered base URL. Ignyt
sends form data `grant_type=client_credentials` and authenticates with HTTP Basic using the
form-encoded client ID and secret. Return a JSON object with these fields.

| Field | Accepted value |
| - | - |
| `access_token` | A string of 1–4096 characters that fully matches `[A-Za-z0-9._~+/-]+=*`. |
| `token_type` | `Bearer`, case-insensitive. |
| `expires_in` | A positive JSON integer in seconds. |

Return HTTP 401 when the token endpoint rejects client credentials, as the reference store
does. Ignyt also treats HTTP 400 and 403 from that endpoint as authorization failures.

Ignyt uses the issued Bearer token for store API requests and obtains a fresh token before
expiry. Validate the token before applying any side effects. Return HTTP 401 for a rejected
token only if the request had no effect. If the store rejects a cached token with HTTP 401,
Ignyt obtains a fresh token and retries once with the original request body and any original
`Idempotency-Key` header.

For HMAC, provision a key ID of 1–64 ASCII letters, digits, underscores or hyphens and a
high-entropy signing secret of at least 32 printable ASCII bytes without spaces. Ignyt sends
`X-Ignite-Key-Id`, `X-Ignite-Timestamp` (Unix seconds), `X-Ignite-Nonce` (32 lowercase hex
characters), and `X-Ignite-Signature` (the lowercase hex HMAC-SHA256).

Compute the signature over these ten fields in order, joined by a single LF with no extra
trailing LF.

1. The literal `ignite-hmac-v1`
2. The key ID
3. The timestamp
4. The nonce
5. The uppercase HTTP method
6. The lowercase original `Host` header
7. The raw request path and query, including the registered path prefix and the `?` when present
8. The lowercase hex SHA-256 of the exact body bytes, using an empty body when absent
9. `X-Ignite-Expected-Store`, or an empty field
10. `Idempotency-Key`, or an empty field

Verify the MAC before processing the request and allow a clock skew of up to 300 seconds.
Atomically consume each verified key ID and nonce pair and retain it for the full acceptance
window. With whole-second clocks and an inclusive skew check, keep the nonce through
`signed_timestamp + 300` and discard it no earlier than `signed_timestamp + 301`.
Retries get a fresh nonce and retain the same order idempotency key.

## Workspace commission payout setup

Workspace Owners with recent sign-in verification set up the commission payout account in the Ignyt
dashboard. No provider selection is accepted. An uncertain setup is recovered by looking up the
original recipient, and a repeated setup cannot replace the saved destination.

A successful checkout records separate amounts due to the merchants and the platform. It does not
release payouts. Finance releases eligible amounts separately after payment availability, frozen
holds and refund/dispute checks. A provider-reported transfer does not establish bank credit.

## Related guides

> [card] [Request a merchant](https://docs.ignyt.si/managed-onboarding.md)
>
> Track readiness and activate Sandbox access. Ignyt manages Production activation.

> [card] [Synchronize products](https://docs.ignyt.si/catalog.md)
>
> Import eligible products and keep your catalog current.

> [card] [Qualify checkout](https://docs.ignyt.si/testing-and-go-live.md)
>
> Test the exact store, payment flow and failure recovery.


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