SET Crypto API Suite · Pay out
Add emails to a batch
POST/v1/payable_emails/batch/{id}/items
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
idstringrequiredpbt_….
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_invalid400 items_invalid400 batch_too_large400 reference_repeated404 batch_unknown409 batch_full409 batch_busy403 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