# White-label card-to-USDC checkout: build with the Caravel Pay Partner API

Source: https://caravelpay.app/guides/whitelabel-partner-api-card-to-usdc/ · Caravel Pay guides · By the Caravel Pay team · Published 2026-11-26 · Updated 2026-11-26

Connect merchant stores to a branded card-to-USDC checkout, add your own fee up to 12%, and receive on-chain Polygon payouts on every paid order.

With the Caravel Pay [Partner API](https://caravelpay.app/docs/partners), agencies, SaaS platforms, billing-panel developers and payment integrators can offer a white-labelled card, Apple Pay and Google Pay checkout settled in USDC on Polygon, add their own per-store fee up to 12% on top of the 2% Caravel fee, and receive their cut on-chain with every paid order. Sign-up is open via `POST /v1/partners` or [caravelpay.app/partners/join](https://caravelpay.app/partners/join/) with no sales call, no approval queue and no monthly fee.

This guide explains what is white-labelled (and what stays Caravel Pay's), how the Partner API compares with PayGate.to white-label as of 26 November 2026, working Node.js and Python integration code, worked $100 fee splits, and the partner rules you must follow.

## What you brand, and what stays fixed (as of 26 Nov 2026)

One signed call to `PUT /v1/partner/brand` applies your identity across every hosted checkout opened by stores you connect:

| Element | Partner-controlled or fixed? | Exact limits / behaviour |
|---|---|---|
| Display name & copy | Partner-controlled | 1 to 40 characters; replaces Caravel Pay in the top bar, browser tab, footer and checkout copy across all 13 checkout languages. |
| Accent colour | Partner-controlled | Hex colour such as `#1f6feb`; foreground text switches automatically between white and black for contrast. |
| Logo | Partner-controlled (optional) | Base64 PNG, max 32 KB and 1024 × 512 px (rendered ~28 px high on your top bar; transparent PNG recommended; SVG and other formats refused). |
| Footer website link | Partner-controlled (optional) | Any `https://` URL linked from the checkout footer. |
| Checkout domain | Fixed (`pay.caravelpay.app`) | Custom partner domains are not available today; checkouts run at `pay.caravelpay.app` with your brand on them. |
| Report link & link pages | Fixed | The *Report this seller* link stays on every checkout. Payment-link landing pages show Caravel Pay branding, while the checkout they open shows yours. |
| Partner fee | Partner-controlled per store | `1` to `1200` bps (0.01% to 12%) up to your fixed `max_fee_bps`; frozen on each connected merchant ID and disclosed to the store in API responses. |
| Store fee modes | `seller` or `split` only | Partner-connected stores cannot use `buyer` fee mode. |

## Caravel Pay Partner API vs PayGate.to white-label (as of 26 Nov 2026)

Both services let integrators build card-to-USDC checkouts on top of third-party card providers, but they differ sharply on domains, fee transparency and onboarding:

| Capability | PayGate.to white-label (as of 9–26 Nov 2026) | Caravel Pay Partner API |
|---|---|---|
| Base platform fee | Variable by route; in our 11 October–10 November 2026 blockchain measurement, sellers behind a partner/reseller lost about 8% in total on what reached PayGate | Flat 2% Caravel fee (of order amount, unchanged and not shared) + your explicit partner fee (0.01%–12%) |
| Fee visibility to stores | Depends on reseller setup | Every connected store sees `fee_rate` ("2%"), `partner_fee_rate` and `total_fee_rate` in its connect response and merchant record |
| Custom checkout domain | Supported via white-label domains | Not available today; checkouts run at `pay.caravelpay.app` with your name, logo and colour |
| Store onboarding | Custom API / white-label plugin routing | Server-side signed `POST /v1/connect` OR stateless HMAC partner codes (`ptc_…`) so your partner secret never leaves your server |
| On-chain fee split | Forwarded per order across supported tokens/chains | Three transfers in the same settlement (store payout, 2% Caravel fee, partner fee), paid in the arrival token (USDC for card), gas covered |
| Webhooks | `GET` with optional RSA verification | Signed `POST` with HMAC-SHA256 (mandatory headers), 24-hour retries |

If a custom checkout hostname is a hard requirement today, PayGate.to offers custom white-label domains and Caravel Pay does not. If predictable flat base pricing, disclosed per-store splits, stateless partner codes and verified `POST` webhooks matter more, Caravel Pay's Partner API is built for that workflow. See [PayGate.to alternative comparison](https://caravelpay.app/guides/paygate-alternative/) for the full measurement methodology.

## Step-by-step partner integration

1. **Create your partner ID.** Submit the form at [caravelpay.app/partners/join](https://caravelpay.app/partners/join/) or call unsigned `POST /v1/partners` with your Polygon `payout_address`, internal `label` (2–80 ASCII chars), `max_fee_bps` (1 to 1200), private `contact_email`, and `accept_terms: "2026-11-15"`. Save the returned `secret` immediately — it is shown once. Both `payout_address` and `max_fee_bps` are fixed for that partner ID (up to 3 partner IDs per wallet and per contact email).

2. **Upload your checkout brand (optional).** Call signed `PUT /v1/partner/brand` with your `name`, `accent`, optional `website` and optional `logo_png_base64` (request body max 48 KiB). Call `DELETE /v1/partner/brand` anytime to revert to Caravel Pay branding.

3. **Connect merchant stores (two patterns).**

   - **Server-side connect:** sign `POST /v1/connect` with `Caravel-Partner`, `Caravel-Timestamp` and `Caravel-Signature`, passing the store's `site_url`, `payout_address`, `platform` and your chosen `partner_fee_bps`. You receive the store's `merchant_id` and `secret`.
   - **Stateless partner codes:** sign a `ptc_…` code locally (valid up to 366 days, or generate one in-browser at [Make a partner code](https://caravelpay.app/partners/join/#code)) and hand it to stores or embed it in your own plugin. The store sends `partner_code` in an unsigned `POST /v1/connect` without ever seeing your partner secret.

   Up to 50 stores can be connected per partner in any 24-hour window. Note that Caravel Pay's standard WooCommerce plugin connects directly without a partner code; to connect WooCommerce stores through you, connect from your server or ship your own integration.

4. **Run checkouts and webhooks normally.** Create checkouts ([`POST /v1/checkouts`](https://caravelpay.app/docs/checkouts)) and verify webhooks ([Webhooks](https://caravelpay.app/docs/webhooks)) using each store's own `merchant_id` and `secret`.

5. **Reconcile records and on-chain earnings.** Query signed `GET /v1/partner` and `GET /v1/partner/merchants?limit=&cursor=`, and reconcile payouts from your Polygon wallet history — every fee transfer settles directly to your wallet with no invoices or withdrawal requests.

## Working code: sign partner requests, set branding and mint partner codes

Partner request signing uses the exact same HMAC-SHA256 format as [merchant authentication](https://caravelpay.app/docs/authentication) (`${timestamp}\n${METHOD}\n${path}\n${rawBody}`), sending `Caravel-Partner` instead of `Caravel-Merchant`:

*Partner API: brand checkout, connect store and mint a partner code · Node.js*

```js
import crypto from "node:crypto";

const PARTNER_ID = process.env.CARAVEL_PARTNER_ID;      // e.g. ptn_K4M2Q7XZ3A
const PARTNER_SECRET = process.env.CARAVEL_PARTNER_SECRET;

async function partnerApi(method, path, bodyObj = null) {
  const rawBody = bodyObj ? JSON.stringify(bodyObj) : "";
  const ts = String(Math.floor(Date.now() / 1000));
  const sig = crypto
    .createHmac("sha256", PARTNER_SECRET)
    .update(`${ts}\n${method}\n${path}\n${rawBody}`)
    .digest("hex");

  const res = await fetch(`https://api.caravelpay.app${path}`, {
    method,
    headers: {
      "Caravel-Partner": PARTNER_ID,
      "Caravel-Timestamp": ts,
      "Caravel-Signature": sig,
      ...(bodyObj ? { "Content-Type": "application/json" } : {}),
    },
    ...(bodyObj ? { body: rawBody } : {}),
  });
  const data = await res.json();
  if (!res.ok) throw new Error(`${data.error?.code}: ${data.error?.message}`);
  return data;
}

// 1. Set white-label checkout branding
await partnerApi("PUT", "/v1/partner/brand", {
  name: "Example Payments",
  accent: "#1f6feb",
  website: "https://example.com/",
});

// 2. Connect a store from your server at a 1.5% partner fee (150 bps)
const merchant = await partnerApi("POST", "/v1/connect", {
  site_url: "https://shop.example",
  payout_address: "0x2222222222222222222222222222222222222222",
  platform: "api",
  partner_fee_bps: 150,
  fee_mode: "seller", // "seller" or "split" only
});

// 3. Or mint an offline partner code (valid 90 days) for self-serve store plugins
function makePartnerCode(feeBps, validDays = 90) {
  const expires = Math.floor(Date.now() / 1000) + validDays * 86400;
  const sig = crypto
    .createHmac("sha256", PARTNER_SECRET)
    .update(`CARAVEL-PARTNER-CODE-V1\n${PARTNER_ID}\n${feeBps}\n${expires}`)
    .digest("hex")
    .slice(0, 32);
  return `ptc_${PARTNER_ID.slice(4)}_${feeBps}_${expires}_${sig}`;
}
```

*Partner API: brand checkout, connect store and mint a partner code · Python*

```py
import hashlib, hmac, json, os, time
import requests

PARTNER_ID = os.environ["CARAVEL_PARTNER_ID"]          # e.g. ptn_K4M2Q7XZ3A
PARTNER_SECRET = os.environ["CARAVEL_PARTNER_SECRET"]

def partner_api(method: str, path: str, body: dict | None = None) -> dict:
    raw_body = json.dumps(body, separators=(",", ":")) if body is not None else ""
    ts = str(int(time.time()))
    msg = f"{ts}\n{method}\n{path}\n{raw_body}".encode()
    sig = hmac.new(PARTNER_SECRET.encode(), msg, hashlib.sha256).hexdigest()
    headers = {
        "Caravel-Partner": PARTNER_ID,
        "Caravel-Timestamp": ts,
        "Caravel-Signature": sig,
    }
    if body is not None:
        headers["Content-Type"] = "application/json"
    res = requests.request(
        method, f"https://api.caravelpay.app{path}",
        headers=headers, data=raw_body.encode() if body is not None else None, timeout=15,
    )
    data = res.json()
    if not res.ok:
        raise RuntimeError(f"{data['error']['code']}: {data['error']['message']}")
    return data

# 1. Connect a store at 1.5% (150 bps)
merchant = partner_api("POST", "/v1/connect", {
    "site_url": "https://shop.example",
    "payout_address": "0x2222222222222222222222222222222222222222",
    "platform": "api",
    "partner_fee_bps": 150,
    "fee_mode": "seller",
})

# 2. Mint an offline partner code (90 days, 1.5% fee)
def make_partner_code(fee_bps: int, valid_days: int = 90) -> str:
    expires = int(time.time()) + valid_days * 86400
    msg = f"CARAVEL-PARTNER-CODE-V1\n{PARTNER_ID}\n{fee_bps}\n{expires}".encode()
    sig = hmac.new(PARTNER_SECRET.encode(), msg, hashlib.sha256).hexdigest()[:32]
    return f"ptc_{PARTNER_ID[4:]}_{fee_bps}_{expires}_{sig}"
```

Developer tooling is also staged on [Plugins and downloads](https://caravelpay.app/plugins/#verify): [`caravel-pay-api.postman_collection.json`](https://caravelpay.app/download/caravel-pay-api.postman_collection.json) (Postman collection with automatic request signing) and [`caravel-pay-api-llm.md`](https://caravelpay.app/download/caravel-pay-api-llm.md) (single-file API spec for AI coding assistants).

## Worked $100 order split (store, Caravel and partner)

Both the **2% Caravel fee** and your partner fee are calculated as shares of the order amount (rounded half-up to the cent) and come off what the store receives. When a payment confirms, three transfers leave the checkout's one-time payment address in the same settlement — the store's payout, the 2% Caravel fee, and your partner fee — in the token that arrived (USDC for card payments; USDC.e or POL for direct crypto). Polygon gas is covered for both you and the store, and the checkout only transitions to `paid` when all three transfers confirm.

| $100.00 order at a 1.5% partner fee | `seller` mode (default) | `split` mode |
|---|---|---|
| Buyer pays | $100.00 | ~$103.00 (provider adds fee) |
| Card provider keeps, typically | −$3.00 | Covered by buyer |
| Arrives on Polygon | 97.00 USDC | 100.00 USDC |
| 2% Caravel fee (of order amount) | −2.00 USDC | −2.00 USDC |
| Your partner fee (1.5% of order amount) | −1.50 USDC → your wallet | −1.50 USDC → your wallet |
| **Store receives** | **93.50 USDC** | **96.50 USDC** |

About 3% is typical of recent card orders through Caravel Pay (card provider fee and exchange-rate spread together). Treat it as an estimate, not a guarantee: it varies by provider, payment method, buyer's country and order size (about 1 in 4 recent card orders arrived in full because the provider charged its fee to the buyer on top; a few routes keep up to about 8–10%). Direct Polygon crypto payments have no card provider fee, so in `seller` mode at 1.5% partner fee the store receives 96.50 USDC. Before enabling `split` mode for a store, verify local surcharge rules (the EU and UK restrict surcharges on most consumer cards; see [who pays the fees](https://caravelpay.app/docs/payouts#fee-modes)). Remember that `buyer` mode is not available for partner-connected stores.

## Partner rules, buyer ID checks and disputes

Signing up accepts the [Partner rules](https://caravelpay.app/partners/#rules) (version `2026-11-15`). Five operational points to build into your onboarding:

- **Vet every connected store.** Every store you connect must follow the [acceptable use policy](https://caravelpay.app/acceptable-use/). Caravel Pay can pause a partner or any store connected through it without notice; a paused partner gets `403 partner_paused` on new connects or brand edits, while already-connected stores keep running unless paused individually.
- **Disclose your fee upfront.** Tell every store your exact fee before connecting it. Stores see your `partner_id`, `partner_fee_rate` and `total_fee_rate` in their own API responses; buyers never see your fee.
- **Use your own brand only.** Never impersonate a bank, card network, wallet provider or another payment brand on `PUT /v1/partner/brand`, and never promise features Caravel Pay does not offer.
- **No merchant KYC; provider-set buyer ID checks.** Partners and connected stores do not open merchant accounts or submit business KYC. Independent card providers set buyer-side ID verification rules: not every buyer is asked, usually first-time buyers depending on country, amount and provider, and most providers ask for an email address.
- **Final on-chain payouts and disputes.** Both the store's payout and your partner fee settle as final on-chain transfers on Polygon with no card-chargeback clawbacks from Caravel Pay. Card disputes stay between the buyer, their bank and the card provider. Refunds are handled manually by the store from its own wallet, and neither the 2% Caravel fee nor your partner fee is returned.

## Frequently asked questions

### Can I run the white-label checkout on my own domain?

Not today. Partner-branded checkouts run at pay.caravelpay.app showing your display name, accent colour, optional PNG logo and optional footer website link across all 13 checkout languages.

### Is there an application review or volume minimum to join?

No. POST /v1/partners and caravelpay.app/partners/join create your partner ID and secret immediately with no call, no review and no monthly fee. Caravel Pay monitors connected stores and pauses partners or stores that break the partner rules or acceptable use policy.

### Do partners get a share of the 2% Caravel fee?

No. There is no affiliate or referral rev-share. The 2% Caravel fee stays unchanged, and you set your own partner fee (0.01% to 12%) on top of it for each store you connect.

### How do I change my partner wallet, max fee, or a store's fee later?

Your payout wallet and max_fee_bps are fixed for a partner ID — sign up for a new partner ID if you need to change them (max 3 partner IDs per wallet and per contact email). To change a store's fee, connect that store again to issue a new merchant ID; open checkouts finish at their original fee.

### Why is buyer fee mode unavailable for partner-connected stores?

Partner-connected stores support seller (default) and split (buyer covers the card provider fee) modes only. Buyer mode is restricted to direct merchant connections.

### Can I connect WooCommerce stores through the Partner API?

Not with Caravel Pay's stock WordPress.org WooCommerce plugin, which connects stores directly without a partner code. To connect WooCommerce stores through your partner ID, connect them from your server via signed POST /v1/connect or build your own integration that passes your partner_code.

## Sources

1. Caravel Pay docs: [Partners API reference](https://caravelpay.app/docs/partners), [Get your API keys](https://caravelpay.app/docs/connect), [Authentication](https://caravelpay.app/docs/authentication), [Payouts and fees](https://caravelpay.app/docs/payouts), checked 2026-11-26.
2. Caravel Pay: [Become a partner](https://caravelpay.app/partners/), [Partner sign-up and code generator](https://caravelpay.app/partners/join/), [Acceptable use policy](https://caravelpay.app/acceptable-use/), [PayGate.to alternative comparison](https://caravelpay.app/guides/paygate-alternative/), checked 2026-11-26.
