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 API

SET Crypto API Suite · Pay out

Pay up to 20 emails at once

POST/v1/payable_emails/batch

Key scope: write · Success: 201

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

Headers

Idempotency-Key string
Optional. The same key and body run once; a replay answers with Idempotent-Replayed: true. Kept 24 hours.

Body

chain "base" | "ethereum"
Default base.
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.
  • Add more emails, 20 a call, with POST /v1/payable_emails/batch/{id}/items: up to 5,000 in one batch.
  • While batch approval is on for your account, a batch waits (approval: "pending") until a different key with the approve scope approves it; until then it has no export and its multisend cannot be reported (409 batch_not_approved).

Errors

  • 400 body_invalid
  • 400 chain_invalid
  • 400 items_invalid
  • 400 batch_too_large
  • 400 reference_repeated
  • 403 payable_email_off
  • 503 payable_email_disabled
  • 401 api_key_required
  • 401 api_key_invalid
  • 401 api_key_wrong_mode
  • 401 api_key_expired
  • 403 scope_missing
  • 403 platform_api_paused
  • 429 rate_limited
  • 503 api_disabled

All codes: Errors.