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

Add emails to a batch

POST/v1/payable_emails/batch/{id}/items

Key scope: write

Up to 20 more emails, each resolved as POST /v1/payable_emails would, numbered after the batch's own items and on the batch's chain. A batch holds up to 5,000 items. The answer is the whole batch, with payTo covering every payable item so far.

Path parameters

id stringrequired
pbt_….

Body

items [{ email, amount?, reference? }]required
1–20 items. References must be unique in the batch.

Notes

  • 409 batch_busy: another page was being added at the same moment. Nothing from your call was added; send the same page again.
  • 409 batch_full: the batch already holds 5,000 items, or this page would take it over. Start a new batch.

Errors

  • 400 body_invalid
  • 400 items_invalid
  • 400 batch_too_large
  • 400 reference_repeated
  • 404 batch_unknown
  • 409 batch_full
  • 409 batch_busy
  • 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.