Trust Layer
ProductCompareHow it worksTrust centerFAQ
Sign inStartStart selling
For developers & partners

Add escrow to your checkout.

WhatsApp bots, storefront builders, and PSPs can let their vendors sell with escrow and look up seller reputation, without sending buyers to a separate app.

Request partner accessExplore the Reputation API
IntegrationReputationTry it
Integration

Embed protected checkout in two steps.

Step 1

Mint a checkout server-side

Call the SDK with your secret API key when a buyer checks out. You get back a one-time token. Every order is attributed to you.

server.ts
import { TrustLayerClient } from '@trust-layer/sdk';

const tl = new TrustLayerClient({
  apiKey: process.env.TRUSTLAYER_API_KEY, // server-side only
  baseUrl: 'https://trustlayer.africa',
});

// When your buyer checks out, mint a protected checkout:
const { token } = await tl.createCheckout({
  sellerId, buyerPhone, amountKobo, itemTitle,
});
// → pass `token` to the browser

Step 2

Open the widget in the browser

Drop in our script and hand it the token. The protected checkout opens in a modal and streams events back to you. No redirect, no separate app.

checkout.html
<script src="https://trustlayer.africa/embed/checkout.js"></script>

<button data-trustlayer-token="THE_TOKEN">
  Pay protected with Trust Layer
</button>

<!-- or programmatically -->
<script>
  TrustLayerCheckout.open({
    token: 'THE_TOKEN',
    onEvent: (e) => console.log(e.type), // trustlayer:paid, trustlayer:released …
  });
</script>
Reputation API

Look up any seller from your platform.

Fetch a seller by handle or id and get a trust profile with a risk band. Use it to rank listings, screen applicants, or show a verified badge.

reputation.ts
const rep = await tl.getReputation('oge-ventures');
// → { score: 588, tier: 'NEW', riskBand: 'LOW',
//     completedSales: 0, ... }

// Or score a whole catalog in one call:
const many = await tl.getReputationBatch(['oge-ventures', 'seller-2', 'seller-3']);

Risk bands

Each profile resolves to LOW, MEDIUM, or HIGH so you can act without interpreting raw scores.

Batch up to 50

Score a whole catalogue or search page in a single call.

Scoped & metered

Requires the reputation:read scope; lookups are metered for billing.

Try it live

Open the real widget right now

Create a payment link in your dashboard, paste its token here, and open the real protected checkout in a modal, exactly what your buyers would see. Events stream in below.

Add escrow to your product.

Get an API key and embed protected checkout and seller reputation in an afternoon.

Request partner access
Request partner access
Trust Layer

© 2026 Trust Layer · Escrow and trust scores for social sellers