# Overview

> Integrate Facto as a Merchant, Stablecoin Card Provider (SCP), or Card Issuer Provider (CIP).

- **Source**: https://docs.facto.to/
- **Markdown**: https://docs.facto.to/index.md
- **Language**: en
- **Access**: public
- **Last Updated**: 2026-11-24

---
**Facto Developers — Choose your integration**

Choose the track that matches your organization's role below. Card brands
  issuing through Interlace, Rain, or Wasabi belong to the &#x2A;*Stablecoin Card
  Provider (SCP)** track; &#x2A;*Card Issuer Provider (CIP)** is strictly for official
  issuing infrastructure engineering teams implementing an issuer adapter over
  `/api/card/*` and `@facto-to/card`. Not sure where to begin? Read
  [First steps](https://docs.facto.to/first-steps.md).

  - [Accept Facto Pay](https://docs.facto.to/merchants.md) (I'm a Merchant): Offer Facto Pay with the Facto Connect SDK: link customer accounts, check payment readiness, and submit idempotent charges from your backend.

  - [Connect a branded card product](https://docs.facto.to/stablecoin-cards.md) (I'm a Stablecoin Card Provider (SCP)): For downstream card brands (including brands issuing through Interlace, Rain, or Wasabi): link cardholders via Card Connect intents and `/api/card/*`.

  - [Integrate issuing infrastructure](https://docs.facto.to/issuing-infrastructure.md) (I'm a Card Issuer Provider (CIP)): For official issuing infrastructure engineering teams (Interlace, Rain, Wasabi): implement Adapter v1 over `/api/card/*`, `@facto-to/card`, and Envelope v2 webhooks.

## Capability and authorization mode matrix [#capability-and-authorization-mode-matrix]

Review current platform boundaries before starting integration work:

| Track / Capability | Current Status | Contract & Boundary |
| --- | --- | --- |
| Merchant checkout (`/api/merchant/*`) | Open in Sandbox; Production by approval | Hosted Connect linking + idempotent mandate charges via HTTP Basic auth |
| Card linking (`/api/card/connect/sessions*` & `/api/card/connect/intents/{id}/cards`) | Open in Sandbox (`card_program` & `card_provider`) | [Card Authorization Binding Standard](https://docs.facto.to/card-authorization-binding.md): program-initiated hosted sessions (`/api/card/connect/sessions*`) + Facto-initiated per-program connect intents (`connect_page_url`, `intent_token`, atomic `cards` replacement) |
| Card authorization intake (`POST /api/card/authorizations`) | **Async-only** | Pre-admission limit, balance, or yield failures return synchronous HTTP `402`; accepted requests return `200 processing` followed by async on-chain finality via `card.charge.finalized` webhook or `POST /api/card/authorizations/lookup` |
| Real-time synchronous approval (`decision_mode: "synchronous"`) | **Closed across all environments** | Returns `422 sync_approval_admission_closed`; synchronous approval is planned for a future release |
| Subsequent facts (`POST /api/card/authorizations/{external_id}/facts`) | Facts recording only | Records clearing, reversal, refund, chargeback, and settlement lineage (`status: "recorded"`); does not automatically transfer funds or refund users |
| Browser Card Sandbox (`/sandbox/card`) | Open to `card_program` & `card_provider` | Runs `@facto-to/card/testing` offline in your browser with Meridian shell and Interlace event replay |

## Getting access [#getting-access]

Sign in with your Partner identity through Partner Workspace single sign-on at
[partner.facto.to](https://partner.facto.to) to unlock the documentation tracks
matching your organization's active role grants. Opening any protected guide
prompts you to continue via Partner Workspace.

One organization can hold multiple partner roles. Credentials, environments,
acceptance status, and settlement configuration stay isolated per role.

### Merchants [#merchants]

  1. **Enable mandated payments.** In [Partner Workspace](https://partner.facto.to), complete the
     Sandbox opt-in required to create a mandate-capable merchant app.
  2. **Create a Sandbox app and rotate its secret.** Facto never sends merchant
     secrets out of band. Create the app in Partner Workspace and issue its
     one-time client secret yourself.
  3. **Complete Production review.** Production requires a separate approval;
     Sandbox apps and credentials never carry over.

### Stablecoin Card Providers (SCP) [#card-programs]

  Card brands (including brands issuing cards through Interlace, Rain, or Wasabi)
  integrate on the `card_program` track. Request the `card_program` role in
  [Partner Workspace](https://partner.facto.to), confirm an active Program
  Connection and server credentials with your Facto contact, install
  `npm install @facto-to/card`, and open [Stablecoin cards](https://docs.facto.to/stablecoin-cards.md).

### Card Issuer Providers (CIP) [#card-providers]

  Official issuing infrastructure engineering teams integrate on the
  `card_provider` track. Request the `card_provider` role in
  [Partner Workspace](https://partner.facto.to), install
  `npm install @facto-to/card`, test offline in the local simulator or shared Card
  Sandbox, and follow [Card Issuer Providers (CIP)](https://docs.facto.to/issuing-infrastructure.md).

See [Access and credentials](https://docs.facto.to/onboarding.md) for environment access stages, common
setup reason codes, and how show-once secrets are issued, rotated, and revoked.

## Partner onboarding flow [#partner-registration]

Every team member signs in with an individual Partner identity. Initial signup
defers 2FA so you reach Partner Workspace immediately after email verification
and move through a three-level flow: **Organizations** (`/organizations`) →
**Products** (`/organizations/:id/products`) → **Workspace** (`/workspace/...`).
Create an organization with just its legal name (no country code or registration
number blocker during Sandbox setup), enable one or multiple `Card` or `Payments`
products available to your organization, and use the built-in **Tour** anytime.

| Environment                           | Partner Workspace                            | Consumer App                                   | Facto Docs                             | API Base URL                         |
| ------------------------------------- | -------------------------------------------- | ---------------------------------------------- | -------------------------------------- | ------------------------------------ |
| External Sandbox (`dev`) & Production | [partner.facto.to](https://partner.facto.to) | [dev.facto.to](https://dev.facto.to) (Sandbox) | [docs.facto.to](https://docs.facto.to) | `https://dev-api.facto.to` (Sandbox) |

Accounts, organizations, memberships, and credentials stay isolated per
environment and never carry over between Sandbox and Production.

> Interactive Partner Workspace registration walkthrough is available in the browser at https://docs.facto.to/.

Once your business role is approved, opening any protected page in
[docs.facto.to](https://docs.facto.to) signs you in through Partner Workspace
single sign-on and unlocks your role's guides, API reference, and Card Sandbox.
For detailed workspace instructions, see [Partner Workspace](https://docs.facto.to/workspace.md).

## Sandbox consumer allowlist binding [#sandbox-consumer-allowlist-binding]

To keep Sandbox consumer access controlled, Google and external wallet sign-ins
on [dev.facto.to](https://dev.facto.to) are linked to active Partner members.

### Bind Google accounts and external wallets in Partner Account [#bind-google-accounts-and-external-wallets-in-partner-account]

1. Complete Partner registration, email verification, and MFA enrollment, and
   ensure you belong to an active organization.
2. Open [Partner Account](https://partner.facto.to/account) and locate
   **Consumer sign-in identities**.
3. Click **Link Google account** or **Link wallet** and complete the ownership
   proof (Google verification pop-up or browser wallet EIP-191 signature).
4. Each Partner member can link up to **3** identities across Google and
   external wallets. Removing an identity or suspending the member immediately
   revokes Sandbox consumer sign-in for that identity.

### Sign in to the Sandbox consumer app [#sign-in-to-the-sandbox-consumer-app]

* Open [dev.facto.to](https://dev.facto.to) and choose **Continue with Google**
  or **Continue with wallet** using a bound identity. Unlinked identities receive
  `PARTNER_IDENTITY_NOT_BOUND`.
* **Email OTP** sign-in is not affected by this Partner allowlist.
* **Production isolation**: Production does not execute this Sandbox allowlist
  check.
