Skip to content

Batches

Batch processing allows you to submit multiple payments in a single request.

Create Batch

POST /api/v1/batches

bash
curl -X POST https://api.paystream.fi/api/v1/batches \
  -H "Authorization: Bearer psk_test_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Weekly Payouts",
    "payments": [
      {"recipientId": "rec_001", "amount": 50000},
      {"recipientId": "rec_002", "amount": 75000}
    ]
  }'

List Batches

GET /api/v1/batches

Get Batch

GET /api/v1/batches/:id

Release Batch

POST /api/v1/batches/:id/release

Release a held batch for processing.

Cancel Batch

DELETE /api/v1/batches/:id

Released under the MIT License.