SET Crypto API Suite · Pay out
Pay up to 20 emails at once
POST/v1/payable_emails/batch
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-Keystring- 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 theapprovescope approves it; until then it has no export and its multisend cannot be reported (409 batch_not_approved).
Errors
400 body_invalid400 chain_invalid400 items_invalid400 batch_too_large400 reference_repeated403 payable_email_off503 payable_email_disabled401 api_key_required401 api_key_invalid401 api_key_wrong_mode401 api_key_expired403 scope_missing403 platform_api_paused429 rate_limited503 api_disabled