This endpoint returns batch-level summaries only — it does not include each batch’s items. Use Get a bulk transfer for the full item breakdown of a specific batch.
Endpoint
GET /clients/business/customers/funds/bulk-transfers
Your API secret. Use a stl_test_... value in sandbox, stl_live_... in production.
Query parameters
Page number. Defaults to 1.
Records per page. Defaults to 20.
See Pagination for full usage — this endpoint uses Shape B.
Response
Array of bulk transfer batches, most recently created first.
data.bulkTransfers[].bulkReference
Human-readable reference for this batch.
data.bulkTransfers[].batchName
The name given to this batch on creation.
data.bulkTransfers[].totalItems
Total number of transfers in the batch.
data.bulkTransfers[].completedItems
Number of items currently completed.
data.bulkTransfers[].failedItems
Number of items currently failed.
data.bulkTransfers[].status
data.bulkTransfers[].createdAt
ISO 8601 timestamp of when the batch was created.
The page size used for this response.
Total number of batches matching the current query, across all pages.
The final page number, derived from total ÷ limit.
Code examples
curl -X GET "https://sandbox.stellasbank.com/api/v1/clients/business/customers/funds/bulk-transfers?page=1&limit=20" \
-H "x-api-key: stl_c8e286ca55b0123e0b05da047494f585" \
-H "x-api-secret: stl_test_6332e4b1dd6c2e5814395b549aec6deb0d0664406c66f2285f95f801c76117c0" \
-H "businessId: YOUR_BUSINESS_ID"
const res = await fetch(
"https://sandbox.stellasbank.com/api/v1/clients/business/customers/funds/bulk-transfers?page=1&limit=20",
{
headers: {
"x-api-key": "stl_c8e286ca55b0123e0b05da047494f585",
"x-api-secret": "stl_test_6332e4b1dd6c2e5814395b549aec6deb0d0664406c66f2285f95f801c76117c0",
businessId: "YOUR_BUSINESS_ID",
},
}
);
const { data, pagination } = await res.json();
import requests
res = requests.get(
"https://sandbox.stellasbank.com/api/v1/clients/business/customers/funds/bulk-transfers",
headers={
"x-api-key": "stl_c8e286ca55b0123e0b05da047494f585",
"x-api-secret": "stl_test_6332e4b1dd6c2e5814395b549aec6deb0d0664406c66f2285f95f801c76117c0",
"businessId": "YOUR_BUSINESS_ID",
},
params={"page": 1, "limit": 20},
)
print(res.json())
Example response
{
"status": true,
"message": "Bulk transfers retrieved successfully",
"data": {
"bulkTransfers": [
{
"id": "6f9d3e2a-1b4c-4a8d-9e2f-3c1a2b4d5e6f",
"bulkReference": "BULK-a1b2c3d4e5f6g7h8i9j0",
"batchName": "July salaries",
"totalItems": 2,
"completedItems": 1,
"failedItems": 1,
"status": "partially_completed",
"createdAt": "2024-07-01T09:00:00.000Z"
}
]
},
"pagination": {
"page": 1,
"limit": 20,
"total": 1,
"totalPages": 1
}
}
Errors
| Status | Cause |
|---|
401 Unauthorized | businessId header missing, or credentials invalid — see Errors |