B2B2C Verification Flows

Trustlocks enables Business-to-Business-to-Consumer (B2B2C) flows where businesses issue credentials to consumers, who then share them with other businesses.

Architecture

  1. Issuer (B2B): Issues a credential (e.g., Employment Verification) to a user's email via the Issuer API.
  2. Trust Registry: Stores the credential securely in the Consumer Inbox, encrypted and isolated.
  3. Consumer (C): Logs into the Consumer Portal, views the credential, and accepts it.
  4. Verifier (B2B): Requests verification from the consumer (e.g., via QR code or link).
  5. Consumer: Approves the request, releasing the proof to the Verifier.

Integration

Integrate the issuance flow using our SDK:

await client.attestations.issue({
  recipient: "user@example.com",
  schema: "employment-v1",
  data: {
    employer: "Acme Corp",
    role: "Engineer",
    status: "Active"
  }
});