SET Direct Deposit API · Payable Email
Add emails to a batch
POST/api/partner/payees/batch/{id}/items
Up to 20 more emails, each resolved as POST /api/partner/payees 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 to this batch 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.- Emails are resolved while you wait, 20 a call, and are never stored. See Batches of up to 5,000.
Errors
400 body_invalid400 items_invalid400 batch_too_large400 reference_repeated404 batch_unknown409 batch_full409 batch_busy401 partner_key_required401 partner_key_invalid403 ip_not_allowed429 rate_limited503 direct_deposit_disabled