Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET Crypto API Suite

SET Crypto API Suite · With a Direct Deposit key

Pay up to 20 emails at once

POST/api/partner/payees/batch

Key scope: partner key · Success: 201

Resolves up to 20 emails in one call, each exactly as POST /api/partner/payees would, and returns payTo: the {address, amountUsdc, reference} list for one multisend transaction (direct and claimable items only). An item that cannot be resolved is status: "error" with its code; the rest still resolve.

Body

chain "base" | "ethereum"required
As for a single payee.
items [{ email, amount?, reference? }]required
1–20 items. References must be unique in the batch.

Notes

  • SET never stores the emails. References are kept sealed with the batch and follow each payment.
  • GET /api/partner/payees/batch/{id} returns the batch with each item's payments (404 batch_unknown).
  • Add more emails, 20 a call, with POST /api/partner/payees/batch/{id}/items: up to 5,000 in one batch. See Batches of up to 5,000.

Errors

  • 400 body_invalid
  • 400 chain_invalid
  • 400 items_invalid
  • 400 batch_too_large
  • 400 reference_repeated
  • 401 partner_key_required
  • 401 partner_key_invalid
  • 401 api_key_expired
  • 403 scope_missing
  • 403 ip_not_allowed
  • 403 merchant_no_direct_deposit
  • 429 rate_limited
  • 503 direct_deposit_disabled

All codes: Errors.